#1F4C9F#1F4C9F
#1F4C9F is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.144 H 261.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4C9F |
|---|---|
| RGB | rgb(31, 76, 159) |
| HSL | hsl(219, 67%, 37%) |
| HSV | hsv(219, 81%, 62%) |
| CMYK | cmyk(80.5%, 52.2%, 0%, 37.6%) |
| CIE-LAB | lab(33.90, 16.16, -49.43) |
| CIE-LCH | lch(33.90, 52.00, 288.11°) |
| OKLab | oklab(43.57% -0.0217 -0.1423) |
| OKLCH | oklch(43.57% 0.144 261.3) |
| XYZ | xyz(9.4053, 7.9623, 33.8353) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.37
Cobalt
#0047AB
ΔE00 2.37
Dusk Blue
#26538D
ΔE00 3.70
Sapphire
#0F52BA
ΔE00 3.76
Light Navy
#155084
ΔE00 5.19
Darkish Blue
#014182
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4C9F #9F721F
analogous
#1F8C9F #1F4C9F #321F9F
triadic
#1F4C9F #9F1F4C #4C9F1F
tetradic
#1F4C9F #9F1F8C #9F721F #1F9F32
square
#1F4C9F #9F1F8C #9F721F #1F9F32
split-complementary
#1F4C9F #9F321F #8C9F1F
monochromatic
#0B1B39 #15346C #1F4C9F #2964D2 #5A88DF
Accessibility & contrast
On white
8.10
#1F4C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#1F4C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4C9F
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4C9F | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1456A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f4c9f; /* rgb */ color: rgb(31, 76, 159); /* oklch */ color: oklch(43.6% 0.144 261.3);
Tailwind
colors: {
custom: {
50: '#707dbc',
500: '#1f4c9f',
950: '#000000',
},
}SCSS
$custom: #1f4c9f; $custom-light: #707dbc; $custom-dark: #000000;
JSON
{
"hex": "#1f4c9f",
"rgb": {
"r": 31,
"g": 76,
"b": 159
},
"hsl": {
"h": 218.906,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.43565,
"c": 0.144,
"h": 261.3
},
"luminance": 0.07963
}Semantic roles & 50–950 ramp
primary
#1F4C9F
secondary
#C39D57
accent
#AE3EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81