#1A179E#1A179E
#1A179E is a dark, highly saturated blue. Relative luminance 0.033; OKLCH L 34.2% C 0.202 H 269.6°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1A179E |
|---|---|
| RGB | rgb(26, 23, 158) |
| HSL | hsl(241, 75%, 35%) |
| HSV | hsv(241, 85%, 62%) |
| CMYK | cmyk(83.5%, 85.4%, 0%, 38%) |
| CIE-LAB | lab(21.21, 48.22, -69.67) |
| CIE-LCH | lch(21.21, 84.73, 304.69°) |
| OKLab | oklab(34.2% -0.0014 -0.2016) |
| OKLCH | oklch(34.2% 0.202 269.6) |
| XYZ | xyz(6.9019, 3.3002, 32.6144) |
| Luminance | 0.0330 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.82
Cobalt Blue
#030AA7
ΔE00 2.05
Royal Blue (survey)
#0504AA
ΔE00 2.62
Ultramarine
#2000B1
ΔE00 3.34
Indigo Blue
#3A18B1
ΔE00 4.06
Darkblue
#00008B
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A179E #9B9E17
analogous
#17589E #1A179E #5D179E
triadic
#1A179E #9E1A17 #179E1A
tetradic
#1A179E #9E1758 #9B9E17 #179E5D
square
#1A179E #9E1758 #9B9E17 #179E5D
split-complementary
#1A179E #9E5D17 #589E17
monochromatic
#080733 #110F69 #1A179E #231FD3 #4E4BE5
Accessibility & contrast
On white
12.65
#1A179E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1A179E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A179E
12.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A179E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A179E | 1.00 | 12.65 | 1.66 | 12.65 |
| #FFFFFF | 12.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002C9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1a179e; /* rgb */ color: rgb(26, 23, 158); /* oklch */ color: oklch(34.2% 0.202 269.6);
Tailwind
colors: {
custom: {
50: '#7359bc',
500: '#1a179e',
950: '#000000',
},
}SCSS
$custom: #1a179e; $custom-light: #7359bc; $custom-dark: #000000;
JSON
{
"hex": "#1a179e",
"rgb": {
"r": 26,
"g": 23,
"b": 158
},
"hsl": {
"h": 241.333,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.34199,
"c": 0.20163,
"h": 269.6
},
"luminance": 0.03301
}Semantic roles & 50–950 ramp
primary
#1A179E
secondary
#C4C64A
accent
#F137ED
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981