#1F439E#1F439E
#1F439E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.154 H 264.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1F439E |
|---|---|
| RGB | rgb(31, 67, 158) |
| HSL | hsl(223, 67%, 37%) |
| HSV | hsv(223, 80%, 62%) |
| CMYK | cmyk(80.4%, 57.6%, 0%, 38%) |
| CIE-LAB | lab(31.28, 21.88, -53.07) |
| CIE-LCH | lch(31.28, 57.40, 292.41°) |
| OKLab | oklab(41.56% -0.0153 -0.1532) |
| OKLCH | oklch(41.56% 0.154 264.3) |
| XYZ | xyz(8.7416, 6.7732, 33.1878) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.53
Cobalt (survey)
#1E488F
ΔE00 3.37
Sapphire (survey)
#2138AB
ΔE00 4.59
Darkish Blue
#014182
ΔE00 5.25
Sapphire
#0F52BA
ΔE00 5.91
Blue Blue
#2242C7
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F439E #9E7A1F
analogous
#1F839E #1F439E #3A1F9E
triadic
#1F439E #9E1F43 #439E1F
tetradic
#1F439E #9E1F83 #9E7A1F #1F9E3A
square
#1F439E #9E1F83 #9E7A1F #1F9E3A
split-complementary
#1F439E #9E3A1F #839E1F
monochromatic
#0B1838 #152D6B #1F439E #2959D1 #597FDE
Accessibility & contrast
On white
8.92
#1F439E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#1F439E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F439E
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F439E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F439E | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1f439e; /* rgb */ color: rgb(31, 67, 158); /* oklch */ color: oklch(41.6% 0.154 264.3);
Tailwind
colors: {
custom: {
50: '#7076bb',
500: '#1f439e',
950: '#000000',
},
}SCSS
$custom: #1f439e; $custom-light: #7076bb; $custom-dark: #000000;
JSON
{
"hex": "#1f439e",
"rgb": {
"r": 31,
"g": 67,
"b": 158
},
"hsl": {
"h": 222.992,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.41556,
"c": 0.154,
"h": 264.3
},
"luminance": 0.06774
}Semantic roles & 50–950 ramp
primary
#1F439E
secondary
#C2A456
accent
#B93EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81