#1D188F#1D188F
#1D188F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.182 H 271.7°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).
Color values
| HEX | #1D188F |
|---|---|
| RGB | rgb(29, 24, 143) |
| HSL | hsl(243, 71%, 33%) |
| HSV | hsv(243, 83%, 56%) |
| CMYK | cmyk(79.7%, 83.2%, 0%, 43.9%) |
| CIE-LAB | lab(19.63, 43.17, -63.03) |
| CIE-LCH | lch(19.63, 76.39, 304.41°) |
| OKLab | oklab(32.61% 0.0054 -0.1824) |
| OKLCH | oklch(32.61% 0.182 271.7) |
| XYZ | xyz(5.7896, 2.8970, 26.2353) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.07
Cobalt Blue
#030AA7
ΔE00 3.65
Darkblue
#00008B
ΔE00 3.92
Royal Blue (survey)
#0504AA
ΔE00 4.20
Navy
#000080
ΔE00 4.70
Midnight Blue
#191970
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D188F #8A8F18
analogous
#184E8F #1D188F #58188F
triadic
#1D188F #8F1D18 #188F1D
tetradic
#1D188F #8F184E #8A8F18 #188F58
square
#1D188F #8F184E #8A8F18 #188F58
split-complementary
#1D188F #8F5818 #4E8F18
monochromatic
#080626 #120F5B #1D188F #2821C3 #4942DF
Accessibility & contrast
On white
13.29
#1D188F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#1D188F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D188F
13.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D188F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D188F | 1.00 | 13.29 | 1.58 | 13.29 |
| #FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1d188f; /* rgb */ color: rgb(29, 24, 143); /* oklch */ color: oklch(32.6% 0.182 271.7);
Tailwind
colors: {
custom: {
50: '#7058b1',
500: '#1d188f',
950: '#000000',
},
}SCSS
$custom: #1d188f; $custom-light: #7058b1; $custom-dark: #000000;
JSON
{
"hex": "#1d188f",
"rgb": {
"r": 29,
"g": 24,
"b": 143
},
"hsl": {
"h": 242.521,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.32606,
"c": 0.18248,
"h": 271.7
},
"luminance": 0.02898
}Semantic roles & 50–950 ramp
primary
#1D188F
secondary
#BBC043
accent
#EE3AE6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980