#1F4D9F#1F4D9F
#1F4D9F is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.143 H 260.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4D9F |
|---|---|
| RGB | rgb(31, 77, 159) |
| HSL | hsl(218, 67%, 37%) |
| HSV | hsv(218, 81%, 62%) |
| CMYK | cmyk(80.5%, 51.6%, 0%, 37.6%) |
| CIE-LAB | lab(34.19, 15.49, -48.96) |
| CIE-LCH | lch(34.19, 51.35, 287.55°) |
| OKLab | oklab(43.79% -0.0225 -0.141) |
| OKLCH | oklch(43.79% 0.143 260.9) |
| XYZ | xyz(9.4747, 8.1011, 33.8585) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.49
Cobalt
#0047AB
ΔE00 2.62
Dusk Blue
#26538D
ΔE00 3.41
Sapphire
#0F52BA
ΔE00 3.62
Light Navy
#155084
ΔE00 4.98
Denim Blue
#3B5B92
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4D9F #9F711F
analogous
#1F8D9F #1F4D9F #311F9F
triadic
#1F4D9F #9F1F4D #4D9F1F
tetradic
#1F4D9F #9F1F8D #9F711F #1F9F31
square
#1F4D9F #9F1F8D #9F711F #1F9F31
split-complementary
#1F4D9F #9F311F #8D9F1F
monochromatic
#0B1B39 #15346C #1F4D9F #2966D2 #5A89DF
Accessibility & contrast
On white
8.01
#1F4D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#1F4D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4D9F
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4D9F | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1857A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f4d9f; /* rgb */ color: rgb(31, 77, 159); /* oklch */ color: oklch(43.8% 0.143 260.9);
Tailwind
colors: {
custom: {
50: '#707ebc',
500: '#1f4d9f',
950: '#000000',
},
}SCSS
$custom: #1f4d9f; $custom-light: #707ebc; $custom-dark: #000000;
JSON
{
"hex": "#1f4d9f",
"rgb": {
"r": 31,
"g": 77,
"b": 159
},
"hsl": {
"h": 218.438,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.43785,
"c": 0.14275,
"h": 260.9
},
"luminance": 0.08102
}Semantic roles & 50–950 ramp
primary
#1F4D9F
secondary
#C39C57
accent
#AC3EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81