#1F4488#1F4488
#1F4488 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.0% C 0.122 H 261.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4488 |
|---|---|
| RGB | rgb(31, 68, 136) |
| HSL | hsl(219, 63%, 33%) |
| HSV | hsv(219, 77%, 53%) |
| CMYK | cmyk(77.2%, 50%, 0%, 46.7%) |
| CIE-LAB | lab(29.92, 12.41, -41.83) |
| CIE-LCH | lch(29.92, 43.63, 286.52°) |
| OKLab | oklab(39.99% -0.0184 -0.1202) |
| OKLCH | oklch(39.99% 0.122 261.3) |
| XYZ | xyz(7.0745, 6.2023, 24.1121) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.55
Darkish Blue
#014182
ΔE00 2.57
Twilight Blue
#0A437A
ΔE00 3.39
Cobalt
#0047AB
ΔE00 4.67
Prussian Blue
#004577
ΔE00 4.87
Dusk Blue
#26538D
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4488 #88631F
analogous
#1F7888 #1F4488 #2E1F88
triadic
#1F4488 #881F44 #44881F
tetradic
#1F4488 #881F78 #88631F #1F882E
square
#1F4488 #881F78 #88631F #1F882E
split-complementary
#1F4488 #882E1F #78881F
monochromatic
#081224 #142B56 #1F4488 #2A5DBA #4B7CD6
Accessibility & contrast
On white
9.37
#1F4488 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#1F4488 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4488
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4488 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4488 | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4C8B
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1f4488; /* rgb */ color: rgb(31, 68, 136); /* oklch */ color: oklch(40.0% 0.122 261.3);
Tailwind
colors: {
custom: {
50: '#6b77ab',
500: '#1f4488',
950: '#000000',
},
}SCSS
$custom: #1f4488; $custom-light: #6b77ab; $custom-dark: #000000;
JSON
{
"hex": "#1f4488",
"rgb": {
"r": 31,
"g": 68,
"b": 136
},
"hsl": {
"h": 218.857,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.39993,
"c": 0.12157,
"h": 261.3
},
"luminance": 0.06203
}Semantic roles & 50–950 ramp
primary
#1F4488
secondary
#B9924A
accent
#AC42E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F