#1F29A6#1F29A6
#1F29A6 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.195 H 269.4°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1F29A6 |
|---|---|
| RGB | rgb(31, 41, 166) |
| HSL | hsl(236, 69%, 39%) |
| HSV | hsv(236, 81%, 65%) |
| CMYK | cmyk(81.3%, 75.3%, 0%, 34.9%) |
| CIE-LAB | lab(25.65, 41.75, -67.16) |
| CIE-LCH | lch(25.65, 79.07, 301.87°) |
| OKLab | oklab(37.65% -0.0022 -0.1946) |
| OKLCH | oklch(37.65% 0.195 269.4) |
| XYZ | xyz(8.2386, 4.6294, 36.5284) |
| Luminance | 0.0463 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.12
Indigo Blue
#3A18B1
ΔE00 4.62
Royal
#0C1793
ΔE00 4.83
Cobalt Blue
#030AA7
ΔE00 5.52
True Blue
#010FCC
ΔE00 5.89
Royal Blue (survey)
#0504AA
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F29A6 #A69C1F
analogous
#1F6CA6 #1F29A6 #581FA6
triadic
#1F29A6 #A61F29 #29A61F
tetradic
#1F29A6 #A61F6C #A69C1F #1FA658
square
#1F29A6 #A61F6C #A69C1F #1FA658
split-complementary
#1F29A6 #A6581F #6CA61F
monochromatic
#0C103F #151C72 #1F29A6 #2B38D7 #5E68E1
Accessibility & contrast
On white
10.90
#1F29A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#1F29A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F29A6
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F29A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F29A6 | 1.00 | 10.90 | 1.93 | 10.90 |
| #FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043AA
Deuteranopia (green-blind)
#0036A4
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1f29a6; /* rgb */ color: rgb(31, 41, 166); /* oklch */ color: oklch(37.7% 0.195 269.4);
Tailwind
colors: {
custom: {
50: '#7564c2',
500: '#1f29a6',
950: '#000000',
},
}SCSS
$custom: #1f29a6; $custom-light: #7564c2; $custom-dark: #000000;
JSON
{
"hex": "#1f29a6",
"rgb": {
"r": 31,
"g": 41,
"b": 166
},
"hsl": {
"h": 235.556,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.37654,
"c": 0.19457,
"h": 269.4
},
"luminance": 0.0463
}Semantic roles & 50–950 ramp
primary
#1F29A6
secondary
#C5BE5B
accent
#DE3CEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0513
muted
#7C7A82