#1A1F9E#1A1F9E
#1A1F9E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.195 H 269.2°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1F9E |
|---|---|
| RGB | rgb(26, 31, 158) |
| HSL | hsl(238, 72%, 36%) |
| HSV | hsv(238, 84%, 62%) |
| CMYK | cmyk(83.5%, 80.4%, 0%, 38%) |
| CIE-LAB | lab(22.54, 44.31, -67.45) |
| CIE-LCH | lch(22.54, 80.71, 303.30°) |
| OKLab | oklab(35.12% -0.0029 -0.1954) |
| OKLCH | oklch(35.12% 0.195 269.2) |
| XYZ | xyz(7.0854, 3.6674, 32.6756) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.37
Cobalt Blue
#030AA7
ΔE00 3.43
Royal Blue (survey)
#0504AA
ΔE00 4.00
Indigo Blue
#3A18B1
ΔE00 4.27
Ultramarine
#2000B1
ΔE00 4.53
True Blue
#010FCC
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1F9E #9E991A
analogous
#1A619E #1A1F9E #571A9E
triadic
#1A1F9E #9E1A1F #1F9E1A
tetradic
#1A1F9E #9E1A61 #9E991A #1A9E57
square
#1A1F9E #9E1A61 #9E991A #1A9E57
split-complementary
#1A1F9E #9E571A #619E1A
monochromatic
#090A35 #111569 #1A1F9E #2329D3 #5056E2
Accessibility & contrast
On white
12.11
#1A1F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#1A1F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1F9E
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1F9E | 1.00 | 12.11 | 1.73 | 12.11 |
| #FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#002F9C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1a1f9e; /* rgb */ color: rgb(26, 31, 158); /* oklch */ color: oklch(35.1% 0.195 269.2);
Tailwind
colors: {
custom: {
50: '#725dbc',
500: '#1a1f9e',
950: '#000000',
},
}SCSS
$custom: #1a1f9e; $custom-light: #725dbc; $custom-dark: #000000;
JSON
{
"hex": "#1a1f9e",
"rgb": {
"r": 26,
"g": 31,
"b": 158
},
"hsl": {
"h": 237.727,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.35124,
"c": 0.19541,
"h": 269.2
},
"luminance": 0.03668
}Semantic roles & 50–950 ramp
primary
#1A1F9E
secondary
#C5C04F
accent
#E839EE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981