#1A178F#1A178F
#1A178F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.184 H 270.6°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).
Color values
| HEX | #1A178F |
|---|---|
| RGB | rgb(26, 23, 143) |
| HSL | hsl(242, 72%, 33%) |
| HSV | hsv(242, 84%, 56%) |
| CMYK | cmyk(81.8%, 83.9%, 0%, 43.9%) |
| CIE-LAB | lab(19.29, 43.48, -63.60) |
| CIE-LCH | lch(19.29, 77.04, 304.36°) |
| OKLab | oklab(32.32% 0.002 -0.1841) |
| OKLCH | oklch(32.32% 0.184 270.6) |
| XYZ | xyz(5.6886, 2.8149, 26.2248) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.88
Cobalt Blue
#030AA7
ΔE00 3.54
Darkblue
#00008B
ΔE00 3.69
Royal Blue (survey)
#0504AA
ΔE00 4.10
Navy
#000080
ΔE00 4.48
Midnight Blue
#191970
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A178F #8C8F17
analogous
#17508F #1A178F #56178F
triadic
#1A178F #8F1A17 #178F1A
tetradic
#1A178F #8F1750 #8C8F17 #178F56
square
#1A178F #8F1750 #8C8F17 #178F56
split-complementary
#1A178F #8F5617 #508F17
monochromatic
#070626 #100F5A #1A178F #241FC4 #4440E0
Accessibility & contrast
On white
13.43
#1A178F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1A178F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A178F
13.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A178F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A178F | 1.00 | 13.43 | 1.56 | 13.43 |
| #FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#00288D
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1a178f; /* rgb */ color: rgb(26, 23, 143); /* oklch */ color: oklch(32.3% 0.184 270.6);
Tailwind
colors: {
custom: {
50: '#6f58b1',
500: '#1a178f',
950: '#000000',
},
}SCSS
$custom: #1a178f; $custom-light: #6f58b1; $custom-dark: #000000;
JSON
{
"hex": "#1a178f",
"rgb": {
"r": 26,
"g": 23,
"b": 143
},
"hsl": {
"h": 241.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.32324,
"c": 0.18409,
"h": 270.6
},
"luminance": 0.02816
}Semantic roles & 50–950 ramp
primary
#1A178F
secondary
#BEC141
accent
#EF39EA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880