#1D187D#1D187D
#1D187D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.160 H 273.5°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1D187D |
|---|---|
| RGB | rgb(29, 24, 125) |
| HSL | hsl(243, 68%, 29%) |
| HSV | hsv(243, 81%, 49%) |
| CMYK | cmyk(76.8%, 80.8%, 0%, 51%) |
| CIE-LAB | lab(17.44, 37.21, -55.32) |
| CIE-LCH | lch(17.44, 66.67, 303.93°) |
| OKLab | oklab(30.44% 0.0098 -0.16) |
| OKLCH | oklch(30.44% 0.16 273.5) |
| XYZ | xyz(4.5338, 2.3947, 19.6213) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.26
Royal
#0C1793
ΔE00 3.30
Dark Royal Blue
#02066F
ΔE00 4.20
Navy
#000080
ΔE00 4.38
Deep Blue
#040273
ΔE00 4.46
Darkblue
#00008B
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D187D #787D18
analogous
#18467D #1D187D #50187D
triadic
#1D187D #7D1D18 #187D1D
tetradic
#1D187D #7D1846 #787D18 #187D50
square
#1D187D #7D1846 #787D18 #187D50
split-complementary
#1D187D #7D5018 #467D18
monochromatic
#06051A #110E4A #1D187D #2922B0 #3F37D9
Accessibility & contrast
On white
14.20
#1D187D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#1D187D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D187D
14.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D187D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D187D | 1.00 | 14.20 | 1.48 | 14.20 |
| #FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00267B
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1d187d; /* rgb */ color: rgb(29, 24, 125); /* oklch */ color: oklch(30.4% 0.160 273.5);
Tailwind
colors: {
custom: {
50: '#6b57a4',
500: '#1d187d',
950: '#000000',
},
}SCSS
$custom: #1d187d; $custom-light: #6b57a4; $custom-dark: #000000;
JSON
{
"hex": "#1d187d",
"rgb": {
"r": 29,
"g": 24,
"b": 125
},
"hsl": {
"h": 242.97,
"s": 67.785,
"l": 29.216
},
"oklch": {
"l": 0.30443,
"c": 0.16035,
"h": 273.5
},
"luminance": 0.02395
}Semantic roles & 50–950 ramp
primary
#1D187D
secondary
#ACB23F
accent
#EB3DE2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F