#1A167C#1A167C
#1A167C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.162 H 272.4°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).
Color values
| HEX | #1A167C |
|---|---|
| RGB | rgb(26, 22, 124) |
| HSL | hsl(242, 70%, 29%) |
| HSV | hsv(242, 82%, 49%) |
| CMYK | cmyk(79%, 82.3%, 0%, 51.4%) |
| CIE-LAB | lab(16.74, 37.73, -55.84) |
| CIE-LCH | lch(16.74, 67.39, 304.04°) |
| OKLab | oklab(29.87% 0.0068 -0.1616) |
| OKLCH | oklch(29.87% 0.162 272.4) |
| XYZ | xyz(4.3498, 2.2482, 19.2696) |
| Luminance | 0.0225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.25
Royal
#0C1793
ΔE00 3.37
Dark Royal Blue
#02066F
ΔE00 3.71
Navy
#000080
ΔE00 3.95
Deep Blue
#040273
ΔE00 3.98
Darkblue
#00008B
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A167C #787C16
analogous
#16457C #1A167C #4D167C
triadic
#1A167C #7C1A16 #167C1A
tetradic
#1A167C #7C1645 #787C16 #167C4D
square
#1A167C #7C1645 #787C16 #167C4D
split-complementary
#1A167C #7C4D16 #457C16
monochromatic
#05051A #0F0D48 #1A167C #251FB0 #3832DB
Accessibility & contrast
On white
14.48
#1A167C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1A167C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A167C
14.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A167C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A167C | 1.00 | 14.48 | 1.45 | 14.48 |
| #FFFFFF | 14.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00247A
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1a167c; /* rgb */ color: rgb(26, 22, 124); /* oklch */ color: oklch(29.9% 0.162 272.4);
Tailwind
colors: {
custom: {
50: '#6a56a3',
500: '#1a167c',
950: '#000000',
},
}SCSS
$custom: #1a167c; $custom-light: #6a56a3; $custom-dark: #000000;
JSON
{
"hex": "#1a167c",
"rgb": {
"r": 26,
"g": 22,
"b": 124
},
"hsl": {
"h": 242.353,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.29868,
"c": 0.16174,
"h": 272.4
},
"luminance": 0.02249
}Semantic roles & 50–950 ramp
primary
#1A167C
secondary
#ACB13D
accent
#ED3BE6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F