#1F4489#1F4489
#1F4489 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.123 H 261.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4489 |
|---|---|
| RGB | rgb(31, 68, 137) |
| HSL | hsl(219, 63%, 33%) |
| HSV | hsv(219, 77%, 54%) |
| CMYK | cmyk(77.4%, 50.4%, 0%, 46.3%) |
| CIE-LAB | lab(29.99, 12.81, -42.34) |
| CIE-LCH | lch(29.99, 44.23, 286.83°) |
| OKLab | oklab(40.07% -0.0182 -0.1216) |
| OKLCH | oklch(40.07% 0.123 261.5) |
| XYZ | xyz(7.1459, 6.2309, 24.4881) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.51
Darkish Blue
#014182
ΔE00 2.66
Twilight Blue
#0A437A
ΔE00 3.50
Cobalt
#0047AB
ΔE00 4.54
Prussian Blue
#004577
ΔE00 4.97
Dusk Blue
#26538D
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4489 #89641F
analogous
#1F7989 #1F4489 #2F1F89
triadic
#1F4489 #891F44 #44891F
tetradic
#1F4489 #891F79 #89641F #1F892F
square
#1F4489 #891F79 #89641F #1F892F
split-complementary
#1F4489 #892F1F #79891F
monochromatic
#081225 #142B57 #1F4489 #2A5DBB #4C7CD6
Accessibility & contrast
On white
9.35
#1F4489 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#1F4489 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4489
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4489 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4489 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4C8C
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f4489; /* rgb */ color: rgb(31, 68, 137); /* oklch */ color: oklch(40.1% 0.123 261.5);
Tailwind
colors: {
custom: {
50: '#6b77ac',
500: '#1f4489',
950: '#000000',
},
}SCSS
$custom: #1f4489; $custom-light: #6b77ac; $custom-dark: #000000;
JSON
{
"hex": "#1f4489",
"rgb": {
"r": 31,
"g": 68,
"b": 137
},
"hsl": {
"h": 219.057,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.4007,
"c": 0.12301,
"h": 261.5
},
"luminance": 0.06232
}Semantic roles & 50–950 ramp
primary
#1F4489
secondary
#B9934B
accent
#AD42E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F