#1F367F#1F367F
#1F367F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.2% C 0.127 H 266.7°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1F367F |
|---|---|
| RGB | rgb(31, 54, 127) |
| HSL | hsl(226, 61%, 31%) |
| HSV | hsv(226, 76%, 50%) |
| CMYK | cmyk(75.6%, 57.5%, 0%, 50.2%) |
| CIE-LAB | lab(25.14, 18.53, -43.95) |
| CIE-LCH | lch(25.14, 47.69, 292.87°) |
| OKLab | oklab(36.15% -0.0074 -0.1266) |
| OKLCH | oklch(36.15% 0.127 266.7) |
| XYZ | xyz(5.7137, 4.4613, 20.6346) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 5.70
Marine
#042E60
ΔE00 5.71
Marine Blue
#01386A
ΔE00 5.71
Cobalt (survey)
#1E488F
ΔE00 6.33
Twilight Blue
#0A437A
ΔE00 6.66
Sapphire (survey)
#2138AB
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F367F #7F681F
analogous
#1F667F #1F367F #381F7F
triadic
#1F367F #7F1F36 #367F1F
tetradic
#1F367F #7F1F66 #7F681F #1F7F38
square
#1F367F #7F1F66 #7F681F #1F7F38
split-complementary
#1F367F #7F381F #667F1F
monochromatic
#070C1D #13214E #1F367F #2B4BB0 #4668D2
Accessibility & contrast
On white
11.10
#1F367F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#1F367F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F367F
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F367F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F367F | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f367f; /* rgb */ color: rgb(31, 54, 127); /* oklch */ color: oklch(36.2% 0.127 266.7);
Tailwind
colors: {
custom: {
50: '#696ca5',
500: '#1f367f',
950: '#000000',
},
}SCSS
$custom: #1f367f; $custom-light: #696ca5; $custom-dark: #000000;
JSON
{
"hex": "#1f367f",
"rgb": {
"r": 31,
"g": 54,
"b": 127
},
"hsl": {
"h": 225.625,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.36151,
"c": 0.12685,
"h": 266.7
},
"luminance": 0.04462
}Semantic roles & 50–950 ramp
primary
#1F367F
secondary
#B29948
accent
#BE44E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F