#1A176F#1A176F
#1A176F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.144 H 273.8°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).
Color values
| HEX | #1A176F |
|---|---|
| RGB | rgb(26, 23, 111) |
| HSL | hsl(242, 66%, 26%) |
| HSV | hsv(242, 79%, 44%) |
| CMYK | cmyk(76.6%, 79.3%, 0%, 56.5%) |
| CIE-LAB | lab(15.38, 32.67, -49.71) |
| CIE-LCH | lch(15.38, 59.48, 303.31°) |
| OKLab | oklab(28.46% 0.0094 -0.1438) |
| OKLCH | oklch(28.46% 0.144 273.8) |
| XYZ | xyz(3.6007, 1.9797, 15.2282) |
| Luminance | 0.0198 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.57
Dark Royal Blue
#02066F
ΔE00 3.72
Darkblue (survey)
#030764
ΔE00 3.83
Deep Blue
#040273
ΔE00 4.40
Navy
#000080
ΔE00 5.20
Dark Blue
#00035B
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A176F #6C6F17
analogous
#17406F #1A176F #46176F
triadic
#1A176F #6F1A17 #176F1A
tetradic
#1A176F #6F1740 #6C6F17 #176F46
square
#1A176F #6F1740 #6C6F17 #176F46
split-complementary
#1A176F #6F4617 #406F17
monochromatic
#060519 #0E0C3C #1A176F #2622A2 #332DD3
Accessibility & contrast
On white
15.04
#1A176F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#1A176F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A176F
15.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A176F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A176F | 1.00 | 15.04 | 1.40 | 15.04 |
| #FFFFFF | 15.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #1a176f; /* rgb */ color: rgb(26, 23, 111); /* oklch */ color: oklch(28.5% 0.144 273.8);
Tailwind
colors: {
custom: {
50: '#665599',
500: '#1a176f',
950: '#000000',
},
}SCSS
$custom: #1a176f; $custom-light: #665599; $custom-dark: #000000;
JSON
{
"hex": "#1a176f",
"rgb": {
"r": 26,
"g": 23,
"b": 111
},
"hsl": {
"h": 242.045,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.28458,
"c": 0.14412,
"h": 273.8
},
"luminance": 0.0198
}Semantic roles & 50–950 ramp
primary
#1A176F
secondary
#A1A53D
accent
#E93FE3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E