#1A158C#1A158C
#1A158C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.182 H 271.0°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).
Color values
| HEX | #1A158C |
|---|---|
| RGB | rgb(26, 21, 140) |
| HSL | hsl(243, 74%, 32%) |
| HSV | hsv(243, 85%, 55%) |
| CMYK | cmyk(81.4%, 85%, 0%, 45.1%) |
| CIE-LAB | lab(18.58, 43.48, -62.90) |
| CIE-LCH | lch(18.58, 76.47, 304.65°) |
| OKLab | oklab(31.72% 0.0032 -0.182) |
| OKLCH | oklch(31.72% 0.182 271) |
| XYZ | xyz(5.4262, 2.6488, 25.0311) |
| Luminance | 0.0265 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.25
Darkblue
#00008B
ΔE00 3.28
Cobalt Blue
#030AA7
ΔE00 3.78
Navy
#000080
ΔE00 3.97
Royal Blue (survey)
#0504AA
ΔE00 4.29
Midnight Blue
#191970
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A158C #878C15
analogous
#154C8C #1A158C #56158C
triadic
#1A158C #8C1A15 #158C1A
tetradic
#1A158C #8C154C #878C15 #158C56
square
#1A158C #8C154C #878C15 #158C56
split-complementary
#1A158C #8C5615 #4C8C15
monochromatic
#060522 #100D57 #1A158C #241DC1 #413AE1
Accessibility & contrast
On white
13.73
#1A158C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1A158C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A158C
13.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A158C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A158C | 1.00 | 13.73 | 1.53 | 13.73 |
| #FFFFFF | 13.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338F
Deuteranopia (green-blind)
#00278A
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1a158c; /* rgb */ color: rgb(26, 21, 140); /* oklch */ color: oklch(31.7% 0.182 271.0);
Tailwind
colors: {
custom: {
50: '#6e57af',
500: '#1a158c',
950: '#000000',
},
}SCSS
$custom: #1a158c; $custom-light: #6e57af; $custom-dark: #000000;
JSON
{
"hex": "#1a158c",
"rgb": {
"r": 26,
"g": 21,
"b": 140
},
"hsl": {
"h": 242.521,
"s": 73.913,
"l": 31.569
},
"oklch": {
"l": 0.31724,
"c": 0.18206,
"h": 271
},
"luminance": 0.02649
}Semantic roles & 50–950 ramp
primary
#1A158C
secondary
#BAC03D
accent
#F137E9
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880