#1D2C76#1D2C76
#1D2C76 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.1% C 0.128 H 269.3°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2C76 |
|---|---|
| RGB | rgb(29, 44, 118) |
| HSL | hsl(230, 61%, 29%) |
| HSV | hsv(230, 75%, 46%) |
| CMYK | cmyk(75.4%, 62.7%, 0%, 53.7%) |
| CIE-LAB | lab(21.47, 21.71, -44.22) |
| CIE-LCH | lch(21.47, 49.26, 296.15°) |
| OKLab | oklab(33.14% -0.0015 -0.1276) |
| OKLCH | oklch(33.14% 0.128 269.3) |
| XYZ | xyz(4.6763, 3.3701, 17.5401) |
| Luminance | 0.0337 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.71
Marine
#042E60
ΔE00 5.74
Marine Blue
#01386A
ΔE00 7.48
Darkslateblue
#483D8B
ΔE00 7.82
Royal
#0C1793
ΔE00 7.90
Sapphire (survey)
#2138AB
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2C76 #76671D
analogous
#1D5976 #1D2C76 #3B1D76
triadic
#1D2C76 #761D2C #2C761D
tetradic
#1D2C76 #761D59 #76671D #1D763B
square
#1D2C76 #761D59 #76671D #1D763B
split-complementary
#1D2C76 #763B1D #59761D
monochromatic
#060919 #111A45 #1D2C76 #293EA7 #3E56D0
Accessibility & contrast
On white
12.54
#1D2C76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#1D2C76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2C76
12.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2C76 | 1.00 | 12.54 | 1.67 | 12.54 |
| #FFFFFF | 12.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1d2c76; /* rgb */ color: rgb(29, 44, 118); /* oklch */ color: oklch(33.1% 0.128 269.3);
Tailwind
colors: {
custom: {
50: '#67649e',
500: '#1d2c76',
950: '#000000',
},
}SCSS
$custom: #1d2c76; $custom-light: #67649e; $custom-dark: #000000;
JSON
{
"hex": "#1d2c76",
"rgb": {
"r": 29,
"g": 44,
"b": 118
},
"hsl": {
"h": 229.888,
"s": 60.544,
"l": 28.824
},
"oklch": {
"l": 0.33141,
"c": 0.12765,
"h": 269.3
},
"luminance": 0.03371
}Semantic roles & 50–950 ramp
primary
#1D2C76
secondary
#AA9945
accent
#C944E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E