#1A178C#1A178C
#1A178C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.180 H 270.9°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).
Color values
| HEX | #1A178C |
|---|---|
| RGB | rgb(26, 23, 140) |
| HSL | hsl(242, 72%, 32%) |
| HSV | hsv(242, 84%, 55%) |
| CMYK | cmyk(81.4%, 83.6%, 0%, 45.1%) |
| CIE-LAB | lab(18.91, 42.51, -62.35) |
| CIE-LCH | lch(18.91, 75.47, 304.29°) |
| OKLab | oklab(31.95% 0.0027 -0.1805) |
| OKLCH | oklch(31.95% 0.181 270.9) |
| XYZ | xyz(5.4644, 2.7252, 25.0439) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.17
Darkblue
#00008B
ΔE00 3.64
Cobalt Blue
#030AA7
ΔE00 3.93
Navy
#000080
ΔE00 4.30
Midnight Blue
#191970
ΔE00 4.46
Royal Blue (survey)
#0504AA
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A178C #898C17
analogous
#174F8C #1A178C #54178C
triadic
#1A178C #8C1A17 #178C1A
tetradic
#1A178C #8C174F #898C17 #178C54
square
#1A178C #8C174F #898C17 #178C54
split-complementary
#1A178C #8C5417 #4F8C17
monochromatic
#060623 #100E57 #1A178C #2420C1 #423EDF
Accessibility & contrast
On white
13.59
#1A178C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1A178C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A178C
13.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A178C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A178C | 1.00 | 13.59 | 1.55 | 13.59 |
| #FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#00288A
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1a178c; /* rgb */ color: rgb(26, 23, 140); /* oklch */ color: oklch(32.0% 0.180 270.9);
Tailwind
colors: {
custom: {
50: '#6e58af',
500: '#1a178c',
950: '#000000',
},
}SCSS
$custom: #1a178c; $custom-light: #6e58af; $custom-dark: #000000;
JSON
{
"hex": "#1a178c",
"rgb": {
"r": 26,
"g": 23,
"b": 140
},
"hsl": {
"h": 241.538,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.31953,
"c": 0.1805,
"h": 270.9
},
"luminance": 0.02726
}Semantic roles & 50–950 ramp
primary
#1A178C
secondary
#BCBF3F
accent
#EF39EA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880