#1F429D#1F429D
#1F429D is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.154 H 264.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #1F429D |
|---|---|
| RGB | rgb(31, 66, 157) |
| HSL | hsl(223, 67%, 37%) |
| HSV | hsv(223, 80%, 62%) |
| CMYK | cmyk(80.3%, 58%, 0%, 38.4%) |
| CIE-LAB | lab(30.93, 22.17, -53.05) |
| CIE-LCH | lch(30.93, 57.49, 292.68°) |
| OKLab | oklab(41.26% -0.0146 -0.1532) |
| OKLCH | oklch(41.26% 0.154 264.5) |
| XYZ | xyz(8.5969, 6.6211, 32.7166) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.81
Cobalt (survey)
#1E488F
ΔE00 3.53
Sapphire (survey)
#2138AB
ΔE00 4.39
Darkish Blue
#014182
ΔE00 5.26
Blueberry
#464196
ΔE00 6.04
Blue Blue
#2242C7
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F429D #9D7A1F
analogous
#1F819D #1F429D #3B1F9D
triadic
#1F429D #9D1F42 #429D1F
tetradic
#1F429D #9D1F81 #9D7A1F #1F9D3B
square
#1F429D #9D1F81 #9D7A1F #1F9D3B
split-complementary
#1F429D #9D3B1F #819D1F
monochromatic
#0B1737 #152D6A #1F429D #2957D0 #587DDE
Accessibility & contrast
On white
9.03
#1F429D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#1F429D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F429D
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F429D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F429D | 1.00 | 9.03 | 2.32 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f429d; /* rgb */ color: rgb(31, 66, 157); /* oklch */ color: oklch(41.3% 0.154 264.5);
Tailwind
colors: {
custom: {
50: '#7075bb',
500: '#1f429d',
950: '#000000',
},
}SCSS
$custom: #1f429d; $custom-light: #7075bb; $custom-dark: #000000;
JSON
{
"hex": "#1f429d",
"rgb": {
"r": 31,
"g": 66,
"b": 157
},
"hsl": {
"h": 223.333,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.41262,
"c": 0.15389,
"h": 264.5
},
"luminance": 0.06622
}Semantic roles & 50–950 ramp
primary
#1F429D
secondary
#C2A456
accent
#BA3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81