#1A157A#1A157A
#1A157A is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.160 H 272.7°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1A157A |
|---|---|
| RGB | rgb(26, 21, 122) |
| HSL | hsl(243, 71%, 28%) |
| HSV | hsv(243, 83%, 48%) |
| CMYK | cmyk(78.7%, 82.8%, 0%, 52.2%) |
| CIE-LAB | lab(16.31, 37.59, -55.28) |
| CIE-LCH | lch(16.31, 66.85, 304.22°) |
| OKLab | oklab(29.5% 0.0077 -0.1599) |
| OKLCH | oklch(29.5% 0.16 272.7) |
| XYZ | xyz(4.2058, 2.1606, 18.6040) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.11
Dark Royal Blue
#02066F
ΔE00 3.42
Royal
#0C1793
ΔE00 3.67
Deep Blue
#040273
ΔE00 3.72
Navy
#000080
ΔE00 3.83
Darkblue
#00008B
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A157A #757A15
analogous
#15437A #1A157A #4C157A
triadic
#1A157A #7A1A15 #157A1A
tetradic
#1A157A #7A1543 #757A15 #157A4C
square
#1A157A #7A1543 #757A15 #157A4C
split-complementary
#1A157A #7A4C15 #437A15
monochromatic
#06041A #0F0C46 #1A157A #251EAE #372EDB
Accessibility & contrast
On white
14.66
#1A157A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1A157A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A157A
14.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A157A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A157A | 1.00 | 14.66 | 1.43 | 14.66 |
| #FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7D
Deuteranopia (green-blind)
#002378
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1a157a; /* rgb */ color: rgb(26, 21, 122); /* oklch */ color: oklch(29.5% 0.160 272.7);
Tailwind
colors: {
custom: {
50: '#6955a2',
500: '#1a157a',
950: '#000000',
},
}SCSS
$custom: #1a157a; $custom-light: #6955a2; $custom-dark: #000000;
JSON
{
"hex": "#1a157a",
"rgb": {
"r": 26,
"g": 21,
"b": 122
},
"hsl": {
"h": 242.97,
"s": 70.629,
"l": 28.039
},
"oklch": {
"l": 0.29496,
"c": 0.16012,
"h": 272.7
},
"luminance": 0.02161
}Semantic roles & 50–950 ramp
primary
#1A157A
secondary
#AAAF3B
accent
#ED3AE5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F