#1D197D#1D197D
#1D197D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.159 H 273.4°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1D197D |
|---|---|
| RGB | rgb(29, 25, 125) |
| HSL | hsl(242, 67%, 29%) |
| HSV | hsv(242, 80%, 49%) |
| CMYK | cmyk(76.8%, 80%, 0%, 51%) |
| CIE-LAB | lab(17.63, 36.66, -55.00) |
| CIE-LCH | lch(17.63, 66.09, 303.68°) |
| OKLab | oklab(30.58% 0.0093 -0.1591) |
| OKLCH | oklch(30.58% 0.159 273.4) |
| XYZ | xyz(4.5548, 2.4367, 19.6283) |
| Luminance | 0.0244 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.18
Royal
#0C1793
ΔE00 3.33
Dark Royal Blue
#02066F
ΔE00 4.38
Navy
#000080
ΔE00 4.61
Deep Blue
#040273
ΔE00 4.67
Darkblue
#00008B
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D197D #797D19
analogous
#19477D #1D197D #4F197D
triadic
#1D197D #7D1D19 #197D1D
tetradic
#1D197D #7D1947 #797D19 #197D4F
square
#1D197D #7D1947 #797D19 #197D4F
split-complementary
#1D197D #7D4F19 #477D19
monochromatic
#06051A #110F4A #1D197D #2923B0 #3F39D7
Accessibility & contrast
On white
14.12
#1D197D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1D197D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D197D
14.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D197D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D197D | 1.00 | 14.12 | 1.49 | 14.12 |
| #FFFFFF | 14.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003080
Deuteranopia (green-blind)
#00267B
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1d197d; /* rgb */ color: rgb(29, 25, 125); /* oklch */ color: oklch(30.6% 0.159 273.4);
Tailwind
colors: {
custom: {
50: '#6b58a4',
500: '#1d197d',
950: '#000000',
},
}SCSS
$custom: #1d197d; $custom-light: #6b58a4; $custom-dark: #000000;
JSON
{
"hex": "#1d197d",
"rgb": {
"r": 29,
"g": 25,
"b": 125
},
"hsl": {
"h": 242.4,
"s": 66.667,
"l": 29.412
},
"oklch": {
"l": 0.30579,
"c": 0.1594,
"h": 273.4
},
"luminance": 0.02437
}Semantic roles & 50–950 ramp
primary
#1D197D
secondary
#ADB140
accent
#EA3EE3
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F