Skip to content
Kolorvia
#1f304a

Color #1f304a

A moderately saturated dark blue.

Conversions

HEX
#1f304a
RGB
rgb(31, 48, 74)
HSL
hsl(216.3, 41%, 20.6%)
HSV / HSB
hsv(216.3, 58.1%, 29%)
CMYK
cmyk(58.1%, 35.1%, 0%, 71%)
LAB
lab(19.64, 1.87, -18.24)
LCH
lch(19.64, 18.34, 275.85)
OKLCH
oklch(30.8%, 0.0523, 258.65)
HWB
hwb(216.3, 12.2%, 71%)

Harmony colors

Complementary

#4a391f

Analogous

#1f464a
#1f304a
#241f4a

Triadic

#1f304a
#4a1f30
#304a1f

Split-complementary

#1f304a
#4a241f
#464a1f

Tetradic

#1f304a
#391f4a
#4a391f
#304a1f

Square

#1f304a
#4a1f46
#4a391f
#1f4a24

Shades

Color #1f304a mixed toward black.

#1a283e
#152031
#0f1825
#0a1019
#05080c

Tints

Color #1f304a mixed toward white.

#334f7a
#476ea9
#7091c3
#a0b6d7
#cfdaeb

Tones

Color #1f304a mixed toward gray.

#233146
#263243
#2a323f
#2d333c
#313438

Accessibility

Aa White text on this color
13.29:1
Aa Black text on this color
1.58:1

White text reads better on this background (13.29:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#272745 · ΔE 7.5

Deuteranopia

#262543 · ΔE 8

Tritanopia

#20403f · ΔE 17.8

Achromatopsia

#303030 · ΔE 13

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #1f304a;
Tailwind (arbitrary value)
bg-[#1f304a]

Related colors

Cornflower Blue #6495ed
Light Steel Blue #b0c4de
Light Slate Gray #778899
Slate Gray #708090
Dodger Blue #1e90ff
Alice Blue #f0f8ff

Frequently asked questions

#1f304a (#1f304a) is rgb(31, 48, 74) in RGB.

No, #1f304a is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #1f304a, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.