#1A157C#1A157C
#1A157C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.163 H 272.5°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).
Color values
| HEX | #1A157C |
|---|---|
| RGB | rgb(26, 21, 124) |
| HSL | hsl(243, 71%, 28%) |
| HSV | hsv(243, 83%, 49%) |
| CMYK | cmyk(79%, 83.1%, 0%, 51.4%) |
| CIE-LAB | lab(16.56, 38.26, -56.14) |
| CIE-LCH | lch(16.56, 67.94, 304.27°) |
| OKLab | oklab(29.74% 0.0072 -0.1625) |
| OKLCH | oklch(29.74% 0.163 272.5) |
| XYZ | xyz(4.3310, 2.2107, 19.2633) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.38
Royal
#0C1793
ΔE00 3.37
Dark Royal Blue
#02066F
ΔE00 3.55
Navy
#000080
ΔE00 3.74
Deep Blue
#040273
ΔE00 3.78
Darkblue
#00008B
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A157C #777C15
analogous
#15437C #1A157C #4D157C
triadic
#1A157C #7C1A15 #157C1A
tetradic
#1A157C #7C1543 #777C15 #157C4D
square
#1A157C #7C1543 #777C15 #157C4D
split-complementary
#1A157C #7C4D15 #437C15
monochromatic
#05041A #0F0C48 #1A157C #251EB0 #3830DC
Accessibility & contrast
On white
14.56
#1A157C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#1A157C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A157C
14.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A157C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A157C | 1.00 | 14.56 | 1.44 | 14.56 |
| #FFFFFF | 14.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00247A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1a157c; /* rgb */ color: rgb(26, 21, 124); /* oklch */ color: oklch(29.7% 0.163 272.5);
Tailwind
colors: {
custom: {
50: '#6a55a3',
500: '#1a157c',
950: '#000000',
},
}SCSS
$custom: #1a157c; $custom-light: #6a55a3; $custom-dark: #000000;
JSON
{
"hex": "#1a157c",
"rgb": {
"r": 26,
"g": 21,
"b": 124
},
"hsl": {
"h": 242.913,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.2974,
"c": 0.16262,
"h": 272.5
},
"luminance": 0.02211
}Semantic roles & 50–950 ramp
primary
#1A157C
secondary
#ACB13C
accent
#EE3AE5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F