#1F2F4E#1F2F4E
#1F2F4E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.8% C 0.060 H 262.6°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F4E |
|---|---|
| RGB | rgb(31, 47, 78) |
| HSL | hsl(220, 43%, 21%) |
| HSV | hsv(220, 60%, 31%) |
| CMYK | cmyk(60.3%, 39.7%, 0%, 69.4%) |
| CIE-LAB | lab(19.53, 4.08, -21.10) |
| CIE-LCH | lch(19.53, 21.49, 280.96°) |
| OKLab | oklab(30.76% -0.0077 -0.0597) |
| OKLCH | oklch(30.76% 0.06 262.6) |
| XYZ | xyz(2.9563, 2.8742, 7.6052) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 1.69
Marine
#042E60
ΔE00 5.05
Marine Blue
#01386A
ΔE00 6.83
Dark
#1B2431
ΔE00 8.14
Navy (survey)
#01153E
ΔE00 8.57
Twilight Blue
#0A437A
ΔE00 9.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F4E #4E3E1F
analogous
#1F474E #1F2F4E #271F4E
triadic
#1F2F4E #4E1F2F #2F4E1F
tetradic
#1F2F4E #4E1F47 #4E3E1F #1F4E27
square
#1F2F4E #4E1F47 #4E3E1F #1F4E27
split-complementary
#1F2F4E #4E271F #474E1F
monochromatic
#090D16 #0E1522 #1F2F4E #30497A #4264A6
Accessibility & contrast
On white
13.34
#1F2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1F2F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F4E
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F4E | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23324F
Deuteranopia (green-blind)
#1D2D4D
Tritanopia (blue-blind)
#05363A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1f2f4e; /* rgb */ color: rgb(31, 47, 78); /* oklch */ color: oklch(30.8% 0.060 262.6);
Tailwind
colors: {
custom: {
50: '#5f677f',
500: '#1f2f4e',
950: '#000000',
},
}SCSS
$custom: #1f2f4e; $custom-light: #5f677f; $custom-dark: #000000;
JSON
{
"hex": "#1f2f4e",
"rgb": {
"r": 31,
"g": 47,
"b": 78
},
"hsl": {
"h": 219.574,
"s": 43.119,
"l": 21.373
},
"oklch": {
"l": 0.3076,
"c": 0.06015,
"h": 262.6
},
"luminance": 0.02874
}Semantic roles & 50–950 ramp
primary
#1F2F4E
secondary
#836E46
accent
#A855D3
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#05060A
muted
#797A7C