#1A167F#1A167F
#1A167F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.165 H 272.1°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1A167F |
|---|---|
| RGB | rgb(26, 22, 127) |
| HSL | hsl(242, 70%, 29%) |
| HSV | hsv(242, 83%, 50%) |
| CMYK | cmyk(79.5%, 82.7%, 0%, 50.2%) |
| CIE-LAB | lab(17.11, 38.74, -57.14) |
| CIE-LCH | lch(17.11, 69.03, 304.13°) |
| OKLab | oklab(30.23% 0.0061 -0.1654) |
| OKLCH | oklch(30.23% 0.165 272.1) |
| XYZ | xyz(4.5424, 2.3252, 20.2840) |
| Luminance | 0.0233 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.68
Royal
#0C1793
ΔE00 2.92
Navy
#000080
ΔE00 3.85
Dark Royal Blue
#02066F
ΔE00 3.93
Darkblue
#00008B
ΔE00 3.94
Deep Blue
#040273
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A167F #7B7F16
analogous
#16477F #1A167F #4F167F
triadic
#1A167F #7F1A16 #167F1A
tetradic
#1A167F #7F1647 #7B7F16 #167F4F
square
#1A167F #7F1647 #7B7F16 #167F4F
split-complementary
#1A167F #7F4F16 #477F16
monochromatic
#05051A #0F0D4B #1A167F #251FB3 #3A34DC
Accessibility & contrast
On white
14.33
#1A167F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#1A167F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A167F
14.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A167F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A167F | 1.00 | 14.33 | 1.47 | 14.33 |
| #FFFFFF | 14.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1a167f; /* rgb */ color: rgb(26, 22, 127); /* oklch */ color: oklch(30.2% 0.165 272.1);
Tailwind
colors: {
custom: {
50: '#6b56a5',
500: '#1a167f',
950: '#000000',
},
}SCSS
$custom: #1a167f; $custom-light: #6b56a5; $custom-dark: #000000;
JSON
{
"hex": "#1a167f",
"rgb": {
"r": 26,
"g": 22,
"b": 127
},
"hsl": {
"h": 242.286,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.30233,
"c": 0.16548,
"h": 272.1
},
"luminance": 0.02326
}Semantic roles & 50–950 ramp
primary
#1A167F
secondary
#AFB43D
accent
#ED3BE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F