#1D2C79#1D2C79
#1D2C79 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.132 H 269.3°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2C79 |
|---|---|
| RGB | rgb(29, 44, 121) |
| HSL | hsl(230, 61%, 29%) |
| HSV | hsv(230, 76%, 47%) |
| CMYK | cmyk(76%, 63.6%, 0%, 52.5%) |
| CIE-LAB | lab(21.74, 22.90, -45.70) |
| CIE-LCH | lch(21.74, 51.11, 296.61°) |
| OKLab | oklab(33.42% -0.0015 -0.132) |
| OKLCH | oklch(33.42% 0.132 269.3) |
| XYZ | xyz(4.8574, 3.4425, 18.4939) |
| Luminance | 0.0344 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.61
Marine
#042E60
ΔE00 6.12
Royal
#0C1793
ΔE00 7.48
Darkslateblue
#483D8B
ΔE00 7.65
Marine Blue
#01386A
ΔE00 7.69
Sapphire (survey)
#2138AB
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2C79 #796A1D
analogous
#1D5A79 #1D2C79 #3C1D79
triadic
#1D2C79 #791D2C #2C791D
tetradic
#1D2C79 #791D5A #796A1D #1D793C
square
#1D2C79 #791D5A #796A1D #1D793C
split-complementary
#1D2C79 #793C1D #5A791D
monochromatic
#060919 #111A48 #1D2C79 #293EAA #3F57D1
Accessibility & contrast
On white
12.44
#1D2C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1D2C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2C79
12.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2C79 | 1.00 | 12.44 | 1.69 | 12.44 |
| #FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1d2c79; /* rgb */ color: rgb(29, 44, 121); /* oklch */ color: oklch(33.4% 0.132 269.3);
Tailwind
colors: {
custom: {
50: '#6865a0',
500: '#1d2c79',
950: '#000000',
},
}SCSS
$custom: #1d2c79; $custom-light: #6865a0; $custom-dark: #000000;
JSON
{
"hex": "#1d2c79",
"rgb": {
"r": 29,
"g": 44,
"b": 121
},
"hsl": {
"h": 230.217,
"s": 61.333,
"l": 29.412
},
"oklch": {
"l": 0.33421,
"c": 0.13199,
"h": 269.3
},
"luminance": 0.03443
}Semantic roles & 50–950 ramp
primary
#1D2C79
secondary
#AD9C45
accent
#CA43E4
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07050F
muted
#7A7A7F