#1D188B#1D188B
#1D188B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.178 H 272.0°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1D188B |
|---|---|
| RGB | rgb(29, 24, 139) |
| HSL | hsl(243, 71%, 32%) |
| HSV | hsv(243, 83%, 55%) |
| CMYK | cmyk(79.1%, 82.7%, 0%, 45.5%) |
| CIE-LAB | lab(19.13, 41.87, -61.35) |
| CIE-LCH | lch(19.13, 74.28, 304.31°) |
| OKLab | oklab(32.12% 0.0064 -0.1776) |
| OKLCH | oklch(32.12% 0.178 272) |
| XYZ | xyz(5.4920, 2.7780, 24.6678) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.41
Darkblue
#00008B
ΔE00 3.89
Cobalt Blue
#030AA7
ΔE00 4.15
Midnight Blue
#191970
ΔE00 4.32
Navy
#000080
ΔE00 4.48
Royal Blue (survey)
#0504AA
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D188B #868B18
analogous
#184C8B #1D188B #57188B
triadic
#1D188B #8B1D18 #188B1D
tetradic
#1D188B #8B184C #868B18 #188B57
square
#1D188B #8B184C #868B18 #188B57
split-complementary
#1D188B #8B5718 #4C8B18
monochromatic
#070623 #120F57 #1D188B #2821BF #463FDE
Accessibility & contrast
On white
13.50
#1D188B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1D188B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D188B
13.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D188B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D188B | 1.00 | 13.50 | 1.56 | 13.50 |
| #FFFFFF | 13.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002989
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1d188b; /* rgb */ color: rgb(29, 24, 139); /* oklch */ color: oklch(32.1% 0.178 272.0);
Tailwind
colors: {
custom: {
50: '#6f58ae',
500: '#1d188b',
950: '#000000',
},
}SCSS
$custom: #1d188b; $custom-light: #6f58ae; $custom-dark: #000000;
JSON
{
"hex": "#1d188b",
"rgb": {
"r": 29,
"g": 24,
"b": 139
},
"hsl": {
"h": 242.609,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.3212,
"c": 0.17766,
"h": 272
},
"luminance": 0.02779
}Semantic roles & 50–950 ramp
primary
#1D188B
secondary
#B9BE40
accent
#ED3AE6
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F