#1D2C97#1D2C97
#1D2C97 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.173 H 268.9°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2C97 |
|---|---|
| RGB | rgb(29, 44, 151) |
| HSL | hsl(233, 68%, 35%) |
| HSV | hsv(233, 81%, 59%) |
| CMYK | cmyk(80.8%, 70.9%, 0%, 40.8%) |
| CIE-LAB | lab(24.63, 34.38, -59.71) |
| CIE-LCH | lch(24.63, 68.90, 299.93°) |
| OKLab | oklab(36.42% -0.0034 -0.1729) |
| OKLCH | oklch(36.42% 0.173 268.9) |
| XYZ | xyz(6.9914, 4.2961, 29.7329) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.15
Royal
#0C1793
ΔE00 5.07
Indigo Blue
#3A18B1
ΔE00 6.73
Cobalt Blue
#030AA7
ΔE00 6.92
Midnight Blue
#191970
ΔE00 7.18
Blueberry
#464196
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2C97 #97881D
analogous
#1D6997 #1D2C97 #4B1D97
triadic
#1D2C97 #971D2C #2C971D
tetradic
#1D2C97 #971D69 #97881D #1D974B
square
#1D2C97 #971D69 #97881D #1D974B
split-complementary
#1D2C97 #974B1D #69971D
monochromatic
#090E30 #131D64 #1D2C97 #273BCA #5162DE
Accessibility & contrast
On white
11.29
#1D2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#1D2C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2C97
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2C97 | 1.00 | 11.29 | 1.86 | 11.29 |
| #FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1d2c97; /* rgb */ color: rgb(29, 44, 151); /* oklch */ color: oklch(36.4% 0.173 268.9);
Tailwind
colors: {
custom: {
50: '#7065b7',
500: '#1d2c97',
950: '#000000',
},
}SCSS
$custom: #1d2c97; $custom-light: #7065b7; $custom-dark: #000000;
JSON
{
"hex": "#1d2c97",
"rgb": {
"r": 29,
"g": 44,
"b": 151
},
"hsl": {
"h": 232.623,
"s": 67.778,
"l": 35.294
},
"oklch": {
"l": 0.36419,
"c": 0.17297,
"h": 268.9
},
"luminance": 0.04297
}Semantic roles & 50–950 ramp
primary
#1D2C97
secondary
#C0B34F
accent
#D53DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80