#1F467D#1F467D
#1F467D is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.7% C 0.103 H 257.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1F467D |
|---|---|
| RGB | rgb(31, 70, 125) |
| HSL | hsl(215, 60%, 31%) |
| HSV | hsv(215, 75%, 49%) |
| CMYK | cmyk(75.2%, 44%, 0%, 51%) |
| CIE-LAB | lab(29.79, 6.62, -35.20) |
| CIE-LCH | lch(29.79, 35.82, 280.66°) |
| OKLab | oklab(39.66% -0.0223 -0.1006) |
| OKLCH | oklch(39.66% 0.103 257.5) |
| XYZ | xyz(6.4556, 6.1516, 20.2452) |
| Luminance | 0.0615 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight Blue
#0A437A
ΔE00 2.02
Darkish Blue
#014182
ΔE00 2.23
Cobalt (survey)
#1E488F
ΔE00 2.48
Prussian Blue
#004577
ΔE00 3.34
Light Navy
#155084
ΔE00 4.37
Dusk Blue
#26538D
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F467D #7D561F
analogous
#1F757D #1F467D #271F7D
triadic
#1F467D #7D1F46 #467D1F
tetradic
#1F467D #7D1F75 #7D561F #1F7D27
square
#1F467D #7D1F75 #7D561F #1F7D27
split-complementary
#1F467D #7D271F #757D1F
monochromatic
#070F1B #132B4C #1F467D #2B61AE #457FD1
Accessibility & contrast
On white
9.42
#1F467D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#1F467D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F467D
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F467D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F467D | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4B7F
Deuteranopia (green-blind)
#1B427C
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1f467d; /* rgb */ color: rgb(31, 70, 125); /* oklch */ color: oklch(39.7% 0.103 257.5);
Tailwind
colors: {
custom: {
50: '#6879a3',
500: '#1f467d',
950: '#000000',
},
}SCSS
$custom: #1f467d; $custom-light: #6879a3; $custom-dark: #000000;
JSON
{
"hex": "#1f467d",
"rgb": {
"r": 31,
"g": 70,
"b": 125
},
"hsl": {
"h": 215.106,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.3966,
"c": 0.10306,
"h": 257.5
},
"luminance": 0.06152
}Semantic roles & 50–950 ramp
primary
#1F467D
secondary
#B08548
accent
#A144E3
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F