#1F429F#1F429F
#1F429F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.157 H 264.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1F429F |
|---|---|
| RGB | rgb(31, 66, 159) |
| HSL | hsl(224, 67%, 37%) |
| HSV | hsv(224, 81%, 62%) |
| CMYK | cmyk(80.5%, 58.5%, 0%, 37.6%) |
| CIE-LAB | lab(31.09, 22.96, -53.99) |
| CIE-LCH | lch(31.09, 58.67, 293.03°) |
| OKLab | oklab(41.44% -0.0145 -0.156) |
| OKLCH | oklch(41.44% 0.157 264.7) |
| XYZ | xyz(8.7691, 6.6899, 33.6233) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.72
Cobalt (survey)
#1E488F
ΔE00 3.76
Sapphire (survey)
#2138AB
ΔE00 4.17
Darkish Blue
#014182
ΔE00 5.52
Blue Blue
#2242C7
ΔE00 5.78
Blueberry
#464196
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F429F #9F7C1F
analogous
#1F829F #1F429F #3C1F9F
triadic
#1F429F #9F1F42 #429F1F
tetradic
#1F429F #9F1F82 #9F7C1F #1F9F3C
square
#1F429F #9F1F82 #9F7C1F #1F9F3C
split-complementary
#1F429F #9F3C1F #829F1F
monochromatic
#0B1739 #152D6C #1F429F #2957D2 #5A7EDF
Accessibility & contrast
On white
8.98
#1F429F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#1F429F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F429F
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F429F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F429F | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f429f; /* rgb */ color: rgb(31, 66, 159); /* oklch */ color: oklch(41.4% 0.157 264.7);
Tailwind
colors: {
custom: {
50: '#7175bc',
500: '#1f429f',
950: '#000000',
},
}SCSS
$custom: #1f429f; $custom-light: #7175bc; $custom-dark: #000000;
JSON
{
"hex": "#1f429f",
"rgb": {
"r": 31,
"g": 66,
"b": 159
},
"hsl": {
"h": 223.594,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.41435,
"c": 0.15665,
"h": 264.7
},
"luminance": 0.06691
}Semantic roles & 50–950 ramp
primary
#1F429F
secondary
#C3A557
accent
#BB3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81