#1D187F#1D187F
#1D187F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.163 H 273.3°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1D187F |
|---|---|
| RGB | rgb(29, 24, 127) |
| HSL | hsl(243, 68%, 30%) |
| HSV | hsv(243, 81%, 50%) |
| CMYK | cmyk(77.2%, 81.1%, 0%, 50.2%) |
| CIE-LAB | lab(17.67, 37.89, -56.20) |
| CIE-LCH | lch(17.67, 67.78, 303.99°) |
| OKLab | oklab(30.68% 0.0093 -0.1626) |
| OKLCH | oklch(30.68% 0.163 273.3) |
| XYZ | xyz(4.6628, 2.4463, 20.3010) |
| Luminance | 0.0245 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.56
Royal
#0C1793
ΔE00 3.00
Navy
#000080
ΔE00 4.32
Dark Royal Blue
#02066F
ΔE00 4.33
Darkblue
#00008B
ΔE00 4.37
Deep Blue
#040273
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D187F #7A7F18
analogous
#18467F #1D187F #51187F
triadic
#1D187F #7F1D18 #187F1D
tetradic
#1D187F #7F1846 #7A7F18 #187F51
square
#1D187F #7F1846 #7A7F18 #187F51
split-complementary
#1D187F #7F5118 #467F18
monochromatic
#06051A #110E4C #1D187F #2922B2 #4038D9
Accessibility & contrast
On white
14.10
#1D187F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1D187F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D187F
14.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D187F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D187F | 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)
#00374B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1d187f; /* rgb */ color: rgb(29, 24, 127); /* oklch */ color: oklch(30.7% 0.163 273.3);
Tailwind
colors: {
custom: {
50: '#6b57a5',
500: '#1d187f',
950: '#000000',
},
}SCSS
$custom: #1d187f; $custom-light: #6b57a5; $custom-dark: #000000;
JSON
{
"hex": "#1d187f",
"rgb": {
"r": 29,
"g": 24,
"b": 127
},
"hsl": {
"h": 242.913,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.30679,
"c": 0.16286,
"h": 273.3
},
"luminance": 0.02447
}Semantic roles & 50–950 ramp
primary
#1D187F
secondary
#AEB33F
accent
#EB3DE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F