#1A178E#1A178E
#1A178E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.183 H 270.7°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1A178E |
|---|---|
| RGB | rgb(26, 23, 142) |
| HSL | hsl(242, 72%, 32%) |
| HSV | hsv(242, 84%, 56%) |
| CMYK | cmyk(81.7%, 83.8%, 0%, 44.3%) |
| CIE-LAB | lab(19.16, 43.16, -63.18) |
| CIE-LCH | lch(19.16, 76.52, 304.34°) |
| OKLab | oklab(32.2% 0.0023 -0.1829) |
| OKLCH | oklch(32.2% 0.183 270.7) |
| XYZ | xyz(5.6132, 2.7848, 25.8276) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.96
Darkblue
#00008B
ΔE00 3.67
Cobalt Blue
#030AA7
ΔE00 3.67
Royal Blue (survey)
#0504AA
ΔE00 4.22
Navy
#000080
ΔE00 4.42
Midnight Blue
#191970
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A178E #8B8E17
analogous
#174F8E #1A178E #56178E
triadic
#1A178E #8E1A17 #178E1A
tetradic
#1A178E #8E174F #8B8E17 #178E56
square
#1A178E #8E174F #8B8E17 #178E56
split-complementary
#1A178E #8E5617 #4F8E17
monochromatic
#070625 #100E59 #1A178E #2420C3 #433FE0
Accessibility & contrast
On white
13.49
#1A178E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1A178E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A178E
13.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A178E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A178E | 1.00 | 13.49 | 1.56 | 13.49 |
| #FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00288C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1a178e; /* rgb */ color: rgb(26, 23, 142); /* oklch */ color: oklch(32.2% 0.183 270.7);
Tailwind
colors: {
custom: {
50: '#6f58b0',
500: '#1a178e',
950: '#000000',
},
}SCSS
$custom: #1a178e; $custom-light: #6f58b0; $custom-dark: #000000;
JSON
{
"hex": "#1a178e",
"rgb": {
"r": 26,
"g": 23,
"b": 142
},
"hsl": {
"h": 241.513,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.322,
"c": 0.1829,
"h": 270.7
},
"luminance": 0.02785
}Semantic roles & 50–950 ramp
primary
#1A178E
secondary
#BDC040
accent
#EF39EA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880