#1F429E#1F429E
#1F429E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.155 H 264.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #1F429E |
|---|---|
| RGB | rgb(31, 66, 158) |
| HSL | hsl(223, 67%, 37%) |
| HSV | hsv(223, 80%, 62%) |
| CMYK | cmyk(80.4%, 58.2%, 0%, 38%) |
| CIE-LAB | lab(31.01, 22.56, -53.52) |
| CIE-LCH | lch(31.01, 58.08, 292.86°) |
| OKLab | oklab(41.35% -0.0146 -0.1546) |
| OKLCH | oklch(41.35% 0.155 264.6) |
| XYZ | xyz(8.6827, 6.6553, 33.1681) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.76
Cobalt (survey)
#1E488F
ΔE00 3.65
Sapphire (survey)
#2138AB
ΔE00 4.28
Darkish Blue
#014182
ΔE00 5.39
Blue Blue
#2242C7
ΔE00 5.93
Blueberry
#464196
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F429E #9E7B1F
analogous
#1F819E #1F429E #3C1F9E
triadic
#1F429E #9E1F42 #429E1F
tetradic
#1F429E #9E1F81 #9E7B1F #1F9E3C
square
#1F429E #9E1F81 #9E7B1F #1F9E3C
split-complementary
#1F429E #9E3C1F #819E1F
monochromatic
#0B1738 #152D6B #1F429E #2957D1 #597EDE
Accessibility & contrast
On white
9.01
#1F429E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#1F429E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F429E
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F429E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F429E | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f429e; /* rgb */ color: rgb(31, 66, 158); /* oklch */ color: oklch(41.3% 0.155 264.6);
Tailwind
colors: {
custom: {
50: '#7075bb',
500: '#1f429e',
950: '#000000',
},
}SCSS
$custom: #1f429e; $custom-light: #7075bb; $custom-dark: #000000;
JSON
{
"hex": "#1f429e",
"rgb": {
"r": 31,
"g": 66,
"b": 158
},
"hsl": {
"h": 223.465,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.41348,
"c": 0.15527,
"h": 264.6
},
"luminance": 0.06656
}Semantic roles & 50–950 ramp
primary
#1F429E
secondary
#C2A556
accent
#BB3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81