#1F29A9#1F29A9
#1F29A9 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.198 H 269.2°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #1F29A9 |
|---|---|
| RGB | rgb(31, 41, 169) |
| HSL | hsl(236, 69%, 39%) |
| HSV | hsv(236, 82%, 66%) |
| CMYK | cmyk(81.7%, 75.7%, 0%, 33.7%) |
| CIE-LAB | lab(25.98, 42.78, -68.42) |
| CIE-LCH | lch(25.98, 80.69, 302.02°) |
| OKLab | oklab(37.99% -0.0026 -0.1982) |
| OKLCH | oklch(37.99% 0.198 269.2) |
| XYZ | xyz(8.5170, 4.7408, 37.9946) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.08
Indigo Blue
#3A18B1
ΔE00 4.43
Royal
#0C1793
ΔE00 5.06
Cobalt Blue
#030AA7
ΔE00 5.51
True Blue
#010FCC
ΔE00 5.56
Royal Blue (survey)
#0504AA
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F29A9 #A99F1F
analogous
#1F6EA9 #1F29A9 #5A1FA9
triadic
#1F29A9 #A91F29 #29A91F
tetradic
#1F29A9 #A91F6E #A99F1F #1FA95A
square
#1F29A9 #A91F6E #A99F1F #1FA95A
split-complementary
#1F29A9 #A95A1F #6EA91F
monochromatic
#0C1042 #161C75 #1F29A9 #2D39D8 #606AE2
Accessibility & contrast
On white
10.78
#1F29A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#1F29A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F29A9
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F29A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F29A9 | 1.00 | 10.78 | 1.95 | 10.78 |
| #FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1f29a9; /* rgb */ color: rgb(31, 41, 169); /* oklch */ color: oklch(38.0% 0.198 269.2);
Tailwind
colors: {
custom: {
50: '#7564c4',
500: '#1f29a9',
950: '#000000',
},
}SCSS
$custom: #1f29a9; $custom-light: #7564c4; $custom-dark: #000000;
JSON
{
"hex": "#1f29a9",
"rgb": {
"r": 31,
"g": 41,
"b": 169
},
"hsl": {
"h": 235.652,
"s": 69,
"l": 39.216
},
"oklch": {
"l": 0.37987,
"c": 0.19825,
"h": 269.2
},
"luminance": 0.04742
}Semantic roles & 50–950 ramp
primary
#1F29A9
secondary
#C7BF5D
accent
#DF3CEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0513
muted
#7C7A82