#1F4CA9#1F4CA9
#1F4CA9 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.4% C 0.158 H 262.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4CA9 |
|---|---|
| RGB | rgb(31, 76, 169) |
| HSL | hsl(220, 69%, 39%) |
| HSV | hsv(220, 82%, 66%) |
| CMYK | cmyk(81.7%, 55%, 0%, 33.7%) |
| CIE-LAB | lab(34.65, 20.14, -54.21) |
| CIE-LCH | lch(34.65, 57.83, 290.38°) |
| OKLab | oklab(44.37% -0.0207 -0.1564) |
| OKLCH | oklch(44.37% 0.158 262.5) |
| XYZ | xyz(10.3084, 8.3235, 38.5917) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.81
Sapphire
#0F52BA
ΔE00 2.87
Cobalt (survey)
#1E488F
ΔE00 3.67
Dusk Blue
#26538D
ΔE00 4.79
Blue Blue
#2242C7
ΔE00 5.96
Denim Blue
#3B5B92
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4CA9 #A97C1F
analogous
#1F91A9 #1F4CA9 #371FA9
triadic
#1F4CA9 #A91F4C #4CA91F
tetradic
#1F4CA9 #A91F91 #A97C1F #1FA937
square
#1F4CA9 #A91F91 #A97C1F #1FA937
split-complementary
#1F4CA9 #A9371F #91A91F
monochromatic
#0C1D42 #163575 #1F4CA9 #2D65D8 #608BE2
Accessibility & contrast
On white
7.88
#1F4CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#1F4CA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4CA9
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4CA9 | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1f4ca9; /* rgb */ color: rgb(31, 76, 169); /* oklch */ color: oklch(44.4% 0.158 262.5);
Tailwind
colors: {
custom: {
50: '#727dc3',
500: '#1f4ca9',
950: '#000000',
},
}SCSS
$custom: #1f4ca9; $custom-light: #727dc3; $custom-dark: #000000;
JSON
{
"hex": "#1f4ca9",
"rgb": {
"r": 31,
"g": 76,
"b": 169
},
"hsl": {
"h": 220.435,
"s": 69,
"l": 39.216
},
"oklch": {
"l": 0.44365,
"c": 0.1578,
"h": 262.5
},
"luminance": 0.08325
}Semantic roles & 50–950 ramp
primary
#1F4CA9
secondary
#C7A45D
accent
#B23CEC
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090913
muted
#7B7B82