#1F2F52#1F2F52
#1F2F52 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.067 H 264.3°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F52 |
|---|---|
| RGB | rgb(31, 47, 82) |
| HSL | hsl(221, 45%, 22%) |
| HSV | hsv(221, 62%, 32%) |
| CMYK | cmyk(62.2%, 42.7%, 0%, 67.8%) |
| CIE-LAB | lab(19.77, 5.62, -23.40) |
| CIE-LCH | lch(19.77, 24.07, 283.50°) |
| OKLab | oklab(31.03% -0.0066 -0.0664) |
| OKLCH | oklch(31.03% 0.067 264.3) |
| XYZ | xyz(3.1041, 2.9333, 8.3836) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 1.80
Marine
#042E60
ΔE00 4.45
Marine Blue
#01386A
ΔE00 6.53
Navy (survey)
#01153E
ΔE00 8.23
Dark
#1B2431
ΔE00 9.32
Twilight Blue
#0A437A
ΔE00 9.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F52 #52421F
analogous
#1F4952 #1F2F52 #281F52
triadic
#1F2F52 #521F2F #2F521F
tetradic
#1F2F52 #521F49 #52421F #1F5228
square
#1F2F52 #521F49 #52421F #1F5228
split-complementary
#1F2F52 #52281F #49521F
monochromatic
#080D16 #0E1626 #1F2F52 #30487E #4162AB
Accessibility & contrast
On white
13.23
#1F2F52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1F2F52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F52
13.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F52 | 1.00 | 13.23 | 1.59 | 13.23 |
| #FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203253
Deuteranopia (green-blind)
#1A2E51
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1f2f52; /* rgb */ color: rgb(31, 47, 82); /* oklch */ color: oklch(31.0% 0.067 264.3);
Tailwind
colors: {
custom: {
50: '#5f6783',
500: '#1f2f52',
950: '#000000',
},
}SCSS
$custom: #1f2f52; $custom-light: #5f6783; $custom-dark: #000000;
JSON
{
"hex": "#1f2f52",
"rgb": {
"r": 31,
"g": 47,
"b": 82
},
"hsl": {
"h": 221.176,
"s": 45.133,
"l": 22.157
},
"oklch": {
"l": 0.31026,
"c": 0.06671,
"h": 264.3
},
"luminance": 0.02934
}Semantic roles & 50–950 ramp
primary
#1F2F52
secondary
#877246
accent
#AC53D5
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05060A
muted
#797A7C