#1A157E#1A157E
#1A157E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.165 H 272.3°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1A157E |
|---|---|
| RGB | rgb(26, 21, 126) |
| HSL | hsl(243, 71%, 29%) |
| HSV | hsv(243, 83%, 49%) |
| CMYK | cmyk(79.4%, 83.3%, 0%, 50.6%) |
| CIE-LAB | lab(16.81, 38.93, -57.01) |
| CIE-LCH | lch(16.81, 69.03, 304.33°) |
| OKLab | oklab(29.99% 0.0067 -0.165) |
| OKLCH | oklch(29.99% 0.165 272.3) |
| XYZ | xyz(4.4588, 2.2618, 19.9362) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.65
Royal
#0C1793
ΔE00 3.08
Navy
#000080
ΔE00 3.67
Dark Royal Blue
#02066F
ΔE00 3.70
Darkblue
#00008B
ΔE00 3.84
Deep Blue
#040273
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A157E #797E15
analogous
#15457E #1A157E #4F157E
triadic
#1A157E #7E1A15 #157E1A
tetradic
#1A157E #7E1545 #797E15 #157E4F
square
#1A157E #7E1545 #797E15 #157E4F
split-complementary
#1A157E #7E4F15 #457E15
monochromatic
#05041A #0F0C4A #1A157E #251EB2 #3931DD
Accessibility & contrast
On white
14.46
#1A157E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1A157E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A157E
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A157E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A157E | 1.00 | 14.46 | 1.45 | 14.46 |
| #FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1a157e; /* rgb */ color: rgb(26, 21, 126); /* oklch */ color: oklch(30.0% 0.165 272.3);
Tailwind
colors: {
custom: {
50: '#6a55a5',
500: '#1a157e',
950: '#000000',
},
}SCSS
$custom: #1a157e; $custom-light: #6a55a5; $custom-dark: #000000;
JSON
{
"hex": "#1a157e",
"rgb": {
"r": 26,
"g": 21,
"b": 126
},
"hsl": {
"h": 242.857,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.29986,
"c": 0.16511,
"h": 272.3
},
"luminance": 0.02262
}Semantic roles & 50–950 ramp
primary
#1A157E
secondary
#ADB33C
accent
#EE3AE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F