#1A197E#1A197E
#1A197E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.162 H 271.9°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1A197E |
|---|---|
| RGB | rgb(26, 25, 126) |
| HSL | hsl(241, 67%, 30%) |
| HSV | hsv(241, 80%, 49%) |
| CMYK | cmyk(79.4%, 80.2%, 0%, 50.6%) |
| CIE-LAB | lab(17.56, 36.76, -55.76) |
| CIE-LCH | lch(17.56, 66.79, 303.39°) |
| OKLab | oklab(30.51% 0.0053 -0.1614) |
| OKLCH | oklch(30.51% 0.162 271.9) |
| XYZ | xyz(4.5383, 2.4207, 19.9627) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.29
Royal
#0C1793
ΔE00 3.13
Dark Royal Blue
#02066F
ΔE00 4.37
Navy
#000080
ΔE00 4.54
Darkblue
#00008B
ΔE00 4.63
Deep Blue
#040273
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A197E #7D7E19
analogous
#194B7E #1A197E #4D197E
triadic
#1A197E #7E1A19 #197E1A
tetradic
#1A197E #7E194B #7D7E19 #197E4D
square
#1A197E #7E194B #7D7E19 #197E4D
split-complementary
#1A197E #7E4D19 #4B7E19
monochromatic
#05051A #0F0F4B #1A197E #2523B1 #3B3AD8
Accessibility & contrast
On white
14.15
#1A197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#1A197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A197E
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A197E | 1.00 | 14.15 | 1.48 | 14.15 |
| #FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1a197e; /* rgb */ color: rgb(26, 25, 126); /* oklch */ color: oklch(30.5% 0.162 271.9);
Tailwind
colors: {
custom: {
50: '#6a58a5',
500: '#1a197e',
950: '#000000',
},
}SCSS
$custom: #1a197e; $custom-light: #6a58a5; $custom-dark: #000000;
JSON
{
"hex": "#1a197e",
"rgb": {
"r": 26,
"g": 25,
"b": 126
},
"hsl": {
"h": 240.594,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.30511,
"c": 0.16151,
"h": 271.9
},
"luminance": 0.02421
}Semantic roles & 50–950 ramp
primary
#1A197E
secondary
#B1B241
accent
#EA3EE8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F