#1D206C#1D206C
#1D206C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.129 H 273.7°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1D206C |
|---|---|
| RGB | rgb(29, 32, 108) |
| HSL | hsl(238, 58%, 27%) |
| HSV | hsv(238, 73%, 42%) |
| CMYK | cmyk(73.1%, 70.4%, 0%, 57.6%) |
| CIE-LAB | lab(17.35, 26.14, -44.51) |
| CIE-LCH | lch(17.35, 51.62, 300.43°) |
| OKLab | oklab(29.83% 0.0083 -0.1286) |
| OKLCH | oklch(29.83% 0.129 273.7) |
| XYZ | xyz(3.7291, 2.3766, 14.4467) |
| Luminance | 0.0238 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.34
Darkblue (survey)
#030764
ΔE00 6.17
Dark Royal Blue
#02066F
ΔE00 6.39
Dark Indigo
#1F0954
ΔE00 6.78
Royal
#0C1793
ΔE00 6.84
Deep Blue
#040273
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D206C #6C691D
analogous
#1D486C #1D206C #421D6C
triadic
#1D206C #6C1D20 #206C1D
tetradic
#1D206C #6C1D48 #6C691D #1D6C42
square
#1D206C #6C1D48 #6C691D #1D6C42
split-complementary
#1D206C #6C421D #486C1D
monochromatic
#060718 #10123C #1D206C #2A2E9C #393FCA
Accessibility & contrast
On white
14.23
#1D206C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#1D206C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D206C
14.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D206C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D206C | 1.00 | 14.23 | 1.48 | 14.23 |
| #FFFFFF | 14.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00276B
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1d206c; /* rgb */ color: rgb(29, 32, 108); /* oklch */ color: oklch(29.8% 0.129 273.7);
Tailwind
colors: {
custom: {
50: '#665b97',
500: '#1d206c',
950: '#000000',
},
}SCSS
$custom: #1d206c; $custom-light: #665b97; $custom-dark: #000000;
JSON
{
"hex": "#1d206c",
"rgb": {
"r": 29,
"g": 32,
"b": 108
},
"hsl": {
"h": 237.722,
"s": 57.664,
"l": 26.863
},
"oklch": {
"l": 0.29827,
"c": 0.12885,
"h": 273.7
},
"luminance": 0.02377
}Semantic roles & 50–950 ramp
primary
#1D206C
secondary
#A19D44
accent
#DB47E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E