#1D197E#1D197E
#1D197E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.161 H 273.2°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1D197E |
|---|---|
| RGB | rgb(29, 25, 126) |
| HSL | hsl(242, 67%, 30%) |
| HSV | hsv(242, 80%, 49%) |
| CMYK | cmyk(77%, 80.2%, 0%, 50.6%) |
| CIE-LAB | lab(17.75, 37.00, -55.44) |
| CIE-LCH | lch(17.75, 66.65, 303.72°) |
| OKLab | oklab(30.7% 0.0091 -0.1604) |
| OKLCH | oklch(30.7% 0.161 273.2) |
| XYZ | xyz(4.6190, 2.4624, 19.9665) |
| Luminance | 0.0246 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.34
Royal
#0C1793
ΔE00 3.18
Dark Royal Blue
#02066F
ΔE00 4.43
Navy
#000080
ΔE00 4.57
Darkblue
#00008B
ΔE00 4.65
Deep Blue
#040273
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D197E #7A7E19
analogous
#19487E #1D197E #4F197E
triadic
#1D197E #7E1D19 #197E1D
tetradic
#1D197E #7E1948 #7A7E19 #197E4F
square
#1D197E #7E1948 #7A7E19 #197E4F
split-complementary
#1D197E #7E4F19 #487E19
monochromatic
#06051A #110F4B #1D197E #2923B1 #403AD8
Accessibility & contrast
On white
14.07
#1D197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1D197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D197E
14.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D197E | 1.00 | 14.07 | 1.49 | 14.07 |
| #FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00277C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1d197e; /* rgb */ color: rgb(29, 25, 126); /* oklch */ color: oklch(30.7% 0.161 273.2);
Tailwind
colors: {
custom: {
50: '#6b58a5',
500: '#1d197e',
950: '#000000',
},
}SCSS
$custom: #1d197e; $custom-light: #6b58a5; $custom-dark: #000000;
JSON
{
"hex": "#1d197e",
"rgb": {
"r": 29,
"g": 25,
"b": 126
},
"hsl": {
"h": 242.376,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.30696,
"c": 0.16068,
"h": 273.2
},
"luminance": 0.02463
}Semantic roles & 50–950 ramp
primary
#1D197E
secondary
#AEB241
accent
#EA3EE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F