#1A157B#1A157B
#1A157B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.161 H 272.6°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1A157B |
|---|---|
| RGB | rgb(26, 21, 123) |
| HSL | hsl(243, 71%, 28%) |
| HSV | hsv(243, 83%, 48%) |
| CMYK | cmyk(78.9%, 82.9%, 0%, 51.8%) |
| CIE-LAB | lab(16.43, 37.93, -55.71) |
| CIE-LCH | lch(16.43, 67.40, 304.25°) |
| OKLab | oklab(29.62% 0.0074 -0.1612) |
| OKLCH | oklch(29.62% 0.161 272.6) |
| XYZ | xyz(4.2681, 2.1855, 18.9320) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.24
Dark Royal Blue
#02066F
ΔE00 3.48
Royal
#0C1793
ΔE00 3.52
Deep Blue
#040273
ΔE00 3.75
Navy
#000080
ΔE00 3.78
Darkblue
#00008B
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A157B #767B15
analogous
#15437B #1A157B #4D157B
triadic
#1A157B #7B1A15 #157B1A
tetradic
#1A157B #7B1543 #767B15 #157B4D
square
#1A157B #7B1543 #767B15 #157B4D
split-complementary
#1A157B #7B4D15 #437B15
monochromatic
#06041A #0F0C47 #1A157B #251EAF #372FDB
Accessibility & contrast
On white
14.61
#1A157B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#1A157B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A157B
14.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A157B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A157B | 1.00 | 14.61 | 1.44 | 14.61 |
| #FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7E
Deuteranopia (green-blind)
#002479
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1a157b; /* rgb */ color: rgb(26, 21, 123); /* oklch */ color: oklch(29.6% 0.161 272.6);
Tailwind
colors: {
custom: {
50: '#6a55a2',
500: '#1a157b',
950: '#000000',
},
}SCSS
$custom: #1a157b; $custom-light: #6a55a2; $custom-dark: #000000;
JSON
{
"hex": "#1a157b",
"rgb": {
"r": 26,
"g": 21,
"b": 123
},
"hsl": {
"h": 242.941,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.29618,
"c": 0.16138,
"h": 272.6
},
"luminance": 0.02186
}Semantic roles & 50–950 ramp
primary
#1A157B
secondary
#ABB03B
accent
#EE3AE5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F