#1A177B#1A177B
#1A177B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.160 H 272.4°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1A177B |
|---|---|
| RGB | rgb(26, 23, 123) |
| HSL | hsl(242, 68%, 29%) |
| HSV | hsv(242, 81%, 48%) |
| CMYK | cmyk(78.9%, 81.3%, 0%, 51.8%) |
| CIE-LAB | lab(16.81, 36.84, -55.09) |
| CIE-LCH | lch(16.81, 66.28, 303.77°) |
| OKLab | oklab(29.88% 0.0067 -0.1594) |
| OKLCH | oklch(29.88% 0.16 272.4) |
| XYZ | xyz(4.3063, 2.2620, 18.9447) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.99
Royal
#0C1793
ΔE00 3.53
Dark Royal Blue
#02066F
ΔE00 3.83
Deep Blue
#040273
ΔE00 4.15
Navy
#000080
ΔE00 4.21
Darkblue
#00008B
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A177B #787B17
analogous
#17467B #1A177B #4C177B
triadic
#1A177B #7B1A17 #177B1A
tetradic
#1A177B #7B1746 #787B17 #177B4C
square
#1A177B #7B1746 #787B17 #177B4C
split-complementary
#1A177B #7B4C17 #467B17
monochromatic
#05051A #0F0D47 #1A177B #2521AF #3833D9
Accessibility & contrast
On white
14.46
#1A177B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1A177B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A177B
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A177B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A177B | 1.00 | 14.46 | 1.45 | 14.46 |
| #FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002479
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1a177b; /* rgb */ color: rgb(26, 23, 123); /* oklch */ color: oklch(29.9% 0.160 272.4);
Tailwind
colors: {
custom: {
50: '#6956a2',
500: '#1a177b',
950: '#000000',
},
}SCSS
$custom: #1a177b; $custom-light: #6956a2; $custom-dark: #000000;
JSON
{
"hex": "#1a177b",
"rgb": {
"r": 26,
"g": 23,
"b": 123
},
"hsl": {
"h": 241.8,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.29879,
"c": 0.15958,
"h": 272.4
},
"luminance": 0.02262
}Semantic roles & 50–950 ramp
primary
#1A177B
secondary
#ACB03E
accent
#EB3CE6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F