#2D2C76#2D2C76
#2D2C76 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.123 H 278.3°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2C76 |
|---|---|
| RGB | rgb(45, 44, 118) |
| HSL | hsl(241, 46%, 32%) |
| HSV | hsv(241, 63%, 46%) |
| CMYK | cmyk(61.9%, 62.7%, 0%, 53.7%) |
| CIE-LAB | lab(22.54, 24.33, -42.43) |
| CIE-LCH | lch(22.54, 48.91, 299.83°) |
| OKLab | oklab(34.21% 0.0177 -0.1219) |
| OKLCH | oklch(34.21% 0.123 278.3) |
| XYZ | xyz(5.2518, 3.6669, 17.5671) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.41
Darkslateblue
#483D8B
ΔE00 6.28
Blueberry
#464196
ΔE00 7.56
Royal
#0C1793
ΔE00 7.82
Marine
#042E60
ΔE00 7.87
Sapphire (survey)
#2138AB
ΔE00 8.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2C76 #75762C
analogous
#2C5076 #2D2C76 #522C76
triadic
#2D2C76 #762D2C #2C762D
tetradic
#2D2C76 #762C50 #75762C #2C7652
square
#2D2C76 #762C50 #75762C #2C7652
split-complementary
#2D2C76 #76522C #50762C
monochromatic
#0B0B1D #1C1B49 #2D2C76 #3E3DA3 #5C5BC2
Accessibility & contrast
On white
12.11
#2D2C76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2D2C76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2C76
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2C76 | 1.00 | 12.11 | 1.73 | 12.11 |
| #FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2d2c76; /* rgb */ color: rgb(45, 44, 118); /* oklch */ color: oklch(34.2% 0.123 278.3);
Tailwind
colors: {
custom: {
50: '#6e659e',
500: '#2d2c76',
950: '#000000',
},
}SCSS
$custom: #2d2c76; $custom-light: #6e659e; $custom-dark: #000000;
JSON
{
"hex": "#2d2c76",
"rgb": {
"r": 45,
"g": 44,
"b": 118
},
"hsl": {
"h": 240.811,
"s": 45.679,
"l": 31.765
},
"oklch": {
"l": 0.34213,
"c": 0.12323,
"h": 278.3
},
"luminance": 0.03667
}Semantic roles & 50–950 ramp
primary
#2D2C76
secondary
#A6A756
accent
#D552D4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E