#1F4EA9#1F4EA9
#1F4EA9 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.155 H 261.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4EA9 |
|---|---|
| RGB | rgb(31, 78, 169) |
| HSL | hsl(220, 69%, 39%) |
| HSV | hsv(220, 82%, 66%) |
| CMYK | cmyk(81.7%, 53.8%, 0%, 33.7%) |
| CIE-LAB | lab(35.21, 18.79, -53.30) |
| CIE-LCH | lch(35.21, 56.52, 289.42°) |
| OKLab | oklab(44.79% -0.0221 -0.1537) |
| OKLCH | oklch(44.79% 0.155 261.8) |
| XYZ | xyz(10.4483, 8.6034, 38.6384) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.33
Sapphire
#0F52BA
ΔE00 2.44
Cobalt (survey)
#1E488F
ΔE00 3.78
Dusk Blue
#26538D
ΔE00 4.32
Denim Blue
#3B5B92
ΔE00 5.45
Light Navy
#155084
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4EA9 #A97A1F
analogous
#1F93A9 #1F4EA9 #351FA9
triadic
#1F4EA9 #A91F4E #4EA91F
tetradic
#1F4EA9 #A91F93 #A97A1F #1FA935
square
#1F4EA9 #A91F93 #A97A1F #1FA935
split-complementary
#1F4EA9 #A9351F #93A91F
monochromatic
#0C1E42 #163675 #1F4EA9 #2D67D8 #608DE2
Accessibility & contrast
On white
7.72
#1F4EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#1F4EA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4EA9
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4EA9 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0359AC
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #1f4ea9; /* rgb */ color: rgb(31, 78, 169); /* oklch */ color: oklch(44.8% 0.155 261.8);
Tailwind
colors: {
custom: {
50: '#727ec3',
500: '#1f4ea9',
950: '#000000',
},
}SCSS
$custom: #1f4ea9; $custom-light: #727ec3; $custom-dark: #000000;
JSON
{
"hex": "#1f4ea9",
"rgb": {
"r": 31,
"g": 78,
"b": 169
},
"hsl": {
"h": 219.565,
"s": 69,
"l": 39.216
},
"oklch": {
"l": 0.44791,
"c": 0.1553,
"h": 261.8
},
"luminance": 0.08605
}Semantic roles & 50–950 ramp
primary
#1F4EA9
secondary
#C7A35D
accent
#B03CEC
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82