#1A1F9F#1A1F9F
#1A1F9F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.197 H 269.1°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1F9F |
|---|---|
| RGB | rgb(26, 31, 159) |
| HSL | hsl(238, 72%, 36%) |
| HSV | hsv(238, 84%, 62%) |
| CMYK | cmyk(83.6%, 80.5%, 0%, 37.6%) |
| CIE-LAB | lab(22.66, 44.65, -67.86) |
| CIE-LCH | lch(22.66, 81.23, 303.34°) |
| OKLab | oklab(35.24% -0.0031 -0.1966) |
| OKLCH | oklch(35.24% 0.197 269.1) |
| XYZ | xyz(7.1719, 3.7019, 33.1307) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.47
Cobalt Blue
#030AA7
ΔE00 3.38
Royal Blue (survey)
#0504AA
ΔE00 3.95
Indigo Blue
#3A18B1
ΔE00 4.17
Ultramarine
#2000B1
ΔE00 4.45
True Blue
#010FCC
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1F9F #9F9A1A
analogous
#1A629F #1A1F9F #581A9F
triadic
#1A1F9F #9F1A1F #1F9F1A
tetradic
#1A1F9F #9F1A62 #9F9A1A #1A9F58
square
#1A1F9F #9F1A62 #9F9A1A #1A9F58
split-complementary
#1A1F9F #9F581A #629F1A
monochromatic
#090A36 #11156A #1A1F9F #2329D4 #5156E3
Accessibility & contrast
On white
12.06
#1A1F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#1A1F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1F9F
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1F9F | 1.00 | 12.06 | 1.74 | 12.06 |
| #FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1a1f9f; /* rgb */ color: rgb(26, 31, 159); /* oklch */ color: oklch(35.2% 0.197 269.1);
Tailwind
colors: {
custom: {
50: '#725dbd',
500: '#1a1f9f',
950: '#000000',
},
}SCSS
$custom: #1a1f9f; $custom-light: #725dbd; $custom-dark: #000000;
JSON
{
"hex": "#1a1f9f",
"rgb": {
"r": 26,
"g": 31,
"b": 159
},
"hsl": {
"h": 237.744,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.35243,
"c": 0.1966,
"h": 269.1
},
"luminance": 0.03703
}Semantic roles & 50–950 ramp
primary
#1A1F9F
secondary
#C5C150
accent
#E839EF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981