#1D2C8D#1D2C8D
#1D2C8D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.160 H 269.1°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2C8D |
|---|---|
| RGB | rgb(29, 44, 141) |
| HSL | hsl(232, 66%, 33%) |
| HSV | hsv(232, 79%, 55%) |
| CMYK | cmyk(79.4%, 68.8%, 0%, 44.7%) |
| CIE-LAB | lab(23.62, 30.64, -55.18) |
| CIE-LCH | lch(23.62, 63.12, 299.04°) |
| OKLab | oklab(35.39% -0.0025 -0.1597) |
| OKLCH | oklch(35.39% 0.16 269.1) |
| XYZ | xyz(6.2134, 3.9850, 25.6358) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.14
Royal
#0C1793
ΔE00 5.43
Midnight Blue
#191970
ΔE00 6.26
Darkslateblue
#483D8B
ΔE00 7.28
Blueberry
#464196
ΔE00 7.32
Cobalt Blue
#030AA7
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2C8D #8D7E1D
analogous
#1D648D #1D2C8D #461D8D
triadic
#1D2C8D #8D1D2C #2C8D1D
tetradic
#1D2C8D #8D1D64 #8D7E1D #1D8D46
square
#1D2C8D #8D1D64 #8D7E1D #1D8D46
split-complementary
#1D2C8D #8D461D #648D1D
monochromatic
#080C27 #131C5A #1D2C8D #273CC0 #4B5EDA
Accessibility & contrast
On white
11.68
#1D2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#1D2C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2C8D
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2C8D | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1d2c8d; /* rgb */ color: rgb(29, 44, 141); /* oklch */ color: oklch(35.4% 0.160 269.1);
Tailwind
colors: {
custom: {
50: '#6d65af',
500: '#1d2c8d',
950: '#000000',
},
}SCSS
$custom: #1d2c8d; $custom-light: #6d65af; $custom-dark: #000000;
JSON
{
"hex": "#1d2c8d",
"rgb": {
"r": 29,
"g": 44,
"b": 141
},
"hsl": {
"h": 231.964,
"s": 65.882,
"l": 33.333
},
"oklch": {
"l": 0.35385,
"c": 0.15977,
"h": 269.1
},
"luminance": 0.03986
}Semantic roles & 50–950 ramp
primary
#1D2C8D
secondary
#BCAD4A
accent
#D23FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F