#1A197F#1A197F
#1A197F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.163 H 271.8°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1A197F |
|---|---|
| RGB | rgb(26, 25, 127) |
| HSL | hsl(241, 67%, 30%) |
| HSV | hsv(241, 80%, 50%) |
| CMYK | cmyk(79.5%, 80.3%, 0%, 50.2%) |
| CIE-LAB | lab(17.68, 37.10, -56.20) |
| CIE-LCH | lch(17.68, 67.34, 303.43°) |
| OKLab | oklab(30.63% 0.0051 -0.1627) |
| OKLCH | oklch(30.63% 0.163 271.8) |
| XYZ | xyz(4.6031, 2.4467, 20.3042) |
| Luminance | 0.0245 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.44
Royal
#0C1793
ΔE00 2.98
Dark Royal Blue
#02066F
ΔE00 4.43
Navy
#000080
ΔE00 4.51
Darkblue
#00008B
ΔE00 4.55
Deep Blue
#040273
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A197F #7E7F19
analogous
#194B7F #1A197F #4D197F
triadic
#1A197F #7F1A19 #197F1A
tetradic
#1A197F #7F194B #7E7F19 #197F4D
square
#1A197F #7F194B #7E7F19 #197F4D
split-complementary
#1A197F #7F4D19 #4B7F19
monochromatic
#05051A #100F4C #1A197F #2423B2 #3C3AD8
Accessibility & contrast
On white
14.10
#1A197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1A197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A197F
14.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A197F | 1.00 | 14.10 | 1.49 | 14.10 |
| #FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1a197f; /* rgb */ color: rgb(26, 25, 127); /* oklch */ color: oklch(30.6% 0.163 271.8);
Tailwind
colors: {
custom: {
50: '#6a58a5',
500: '#1a197f',
950: '#000000',
},
}SCSS
$custom: #1a197f; $custom-light: #6a58a5; $custom-dark: #000000;
JSON
{
"hex": "#1a197f",
"rgb": {
"r": 26,
"g": 25,
"b": 127
},
"hsl": {
"h": 240.588,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.3063,
"c": 0.16277,
"h": 271.8
},
"luminance": 0.02447
}Semantic roles & 50–950 ramp
primary
#1A197F
secondary
#B2B341
accent
#EA3EE8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F