#1F4388#1F4388
#1F4388 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.123 H 261.8°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4388 |
|---|---|
| RGB | rgb(31, 67, 136) |
| HSL | hsl(219, 63%, 33%) |
| HSV | hsv(219, 77%, 53%) |
| CMYK | cmyk(77.2%, 50.7%, 0%, 46.7%) |
| CIE-LAB | lab(29.62, 13.09, -42.31) |
| CIE-LCH | lch(29.62, 44.29, 287.19°) |
| OKLab | oklab(39.77% -0.0175 -0.1216) |
| OKLCH | oklch(39.77% 0.123 261.8) |
| XYZ | xyz(7.0146, 6.0824, 24.0921) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.86
Darkish Blue
#014182
ΔE00 2.67
Twilight Blue
#0A437A
ΔE00 3.57
Cobalt
#0047AB
ΔE00 4.73
Prussian Blue
#004577
ΔE00 5.09
Dusk Blue
#26538D
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4388 #88641F
analogous
#1F7788 #1F4388 #301F88
triadic
#1F4388 #881F43 #43881F
tetradic
#1F4388 #881F77 #88641F #1F8830
square
#1F4388 #881F77 #88641F #1F8830
split-complementary
#1F4388 #88301F #77881F
monochromatic
#081224 #142A56 #1F4388 #2A5CBA #4B7BD6
Accessibility & contrast
On white
9.47
#1F4388 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#1F4388 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4388
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4388 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4388 | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B4B8B
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1f4388; /* rgb */ color: rgb(31, 67, 136); /* oklch */ color: oklch(39.8% 0.123 261.8);
Tailwind
colors: {
custom: {
50: '#6b76ab',
500: '#1f4388',
950: '#000000',
},
}SCSS
$custom: #1f4388; $custom-light: #6b76ab; $custom-dark: #000000;
JSON
{
"hex": "#1f4388",
"rgb": {
"r": 31,
"g": 67,
"b": 136
},
"hsl": {
"h": 219.429,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.39765,
"c": 0.12285,
"h": 261.8
},
"luminance": 0.06083
}Semantic roles & 50–950 ramp
primary
#1F4388
secondary
#B9934A
accent
#AE42E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F