#1A187E#1A187E
#1A187E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.162 H 272.0°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1A187E |
|---|---|
| RGB | rgb(26, 24, 126) |
| HSL | hsl(241, 68%, 29%) |
| HSV | hsv(241, 81%, 49%) |
| CMYK | cmyk(79.4%, 81%, 0%, 50.6%) |
| CIE-LAB | lab(17.36, 37.32, -56.09) |
| CIE-LCH | lch(17.36, 67.37, 303.64°) |
| OKLab | oklab(30.37% 0.0057 -0.1623) |
| OKLCH | oklch(30.37% 0.162 272) |
| XYZ | xyz(4.5173, 2.3787, 19.9557) |
| Luminance | 0.0238 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.35
Royal
#0C1793
ΔE00 3.09
Dark Royal Blue
#02066F
ΔE00 4.19
Navy
#000080
ΔE00 4.31
Darkblue
#00008B
ΔE00 4.42
Deep Blue
#040273
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A187E #7C7E18
analogous
#18497E #1A187E #4D187E
triadic
#1A187E #7E1A18 #187E1A
tetradic
#1A187E #7E1849 #7C7E18 #187E4D
square
#1A187E #7E1849 #7C7E18 #187E4D
split-complementary
#1A187E #7E4D18 #497E18
monochromatic
#05051A #0F0E4B #1A187E #2522B1 #3B37D9
Accessibility & contrast
On white
14.23
#1A187E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#1A187E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A187E
14.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A187E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A187E | 1.00 | 14.23 | 1.48 | 14.23 |
| #FFFFFF | 14.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1a187e; /* rgb */ color: rgb(26, 24, 126); /* oklch */ color: oklch(30.4% 0.162 272.0);
Tailwind
colors: {
custom: {
50: '#6a57a5',
500: '#1a187e',
950: '#000000',
},
}SCSS
$custom: #1a187e; $custom-light: #6a57a5; $custom-dark: #000000;
JSON
{
"hex": "#1a187e",
"rgb": {
"r": 26,
"g": 24,
"b": 126
},
"hsl": {
"h": 241.176,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.30374,
"c": 0.16244,
"h": 272
},
"luminance": 0.02379
}Semantic roles & 50–950 ramp
primary
#1A187E
secondary
#B0B23F
accent
#EB3DE7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F