#1A158F#1A158F
#1A158F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.186 H 270.8°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #1A158F |
|---|---|
| RGB | rgb(26, 21, 143) |
| HSL | hsl(242, 74%, 32%) |
| HSV | hsv(242, 85%, 56%) |
| CMYK | cmyk(81.8%, 85.3%, 0%, 43.9%) |
| CIE-LAB | lab(18.96, 44.43, -64.13) |
| CIE-LCH | lch(18.96, 78.02, 304.71°) |
| OKLab | oklab(32.1% 0.0025 -0.1856) |
| OKLCH | oklch(32.1% 0.186 270.8) |
| XYZ | xyz(5.6504, 2.7385, 26.2121) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.00
Darkblue
#00008B
ΔE00 3.33
Cobalt Blue
#030AA7
ΔE00 3.39
Royal Blue (survey)
#0504AA
ΔE00 3.91
Navy
#000080
ΔE00 4.18
Indigo (survey)
#380282
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A158F #8A8F15
analogous
#154D8F #1A158F #57158F
triadic
#1A158F #8F1A15 #158F1A
tetradic
#1A158F #8F154D #8A8F15 #158F57
square
#1A158F #8F154D #8A8F15 #158F57
split-complementary
#1A158F #8F5715 #4D8F15
monochromatic
#070524 #100D5A #1A158F #241DC4 #433CE2
Accessibility & contrast
On white
13.57
#1A158F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1A158F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A158F
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A158F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A158F | 1.00 | 13.57 | 1.55 | 13.57 |
| #FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00288D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1a158f; /* rgb */ color: rgb(26, 21, 143); /* oklch */ color: oklch(32.1% 0.186 270.8);
Tailwind
colors: {
custom: {
50: '#6f57b1',
500: '#1a158f',
950: '#000000',
},
}SCSS
$custom: #1a158f; $custom-light: #6f57b1; $custom-dark: #000000;
JSON
{
"hex": "#1a158f",
"rgb": {
"r": 26,
"g": 21,
"b": 143
},
"hsl": {
"h": 242.459,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.32101,
"c": 0.18561,
"h": 270.8
},
"luminance": 0.02739
}Semantic roles & 50–950 ramp
primary
#1A158F
secondary
#BDC23E
accent
#F137E9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880