#2D2C9D#2D2C9D
#2D2C9D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.176 H 274.4°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2C9D |
|---|---|
| RGB | rgb(45, 44, 157) |
| HSL | hsl(241, 56%, 39%) |
| HSV | hsv(241, 72%, 62%) |
| CMYK | cmyk(71.3%, 72%, 0%, 38.4%) |
| CIE-LAB | lab(26.14, 38.11, -60.86) |
| CIE-LCH | lch(26.14, 71.81, 302.05°) |
| OKLab | oklab(37.93% 0.0135 -0.176) |
| OKLCH | oklch(37.93% 0.176 274.4) |
| XYZ | xyz(8.0667, 4.7928, 32.3917) |
| Luminance | 0.0479 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.08
Indigo Blue
#3A18B1
ΔE00 5.19
Royal
#0C1793
ΔE00 5.28
Cobalt Blue
#030AA7
ΔE00 6.52
Blueberry
#464196
ΔE00 6.64
Darkslateblue
#483D8B
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2C9D #9C9D2C
analogous
#2C649D #2D2C9D #662C9D
triadic
#2D2C9D #9D2D2C #2C9D2D
tetradic
#2D2C9D #9D2C64 #9C9D2C #2C9D66
square
#2D2C9D #9D2C64 #9C9D2C #2C9D66
split-complementary
#2D2C9D #9D662C #649D2C
monochromatic
#12113D #1F1F6D #2D2C9D #3F3DC9 #6E6DD6
Accessibility & contrast
On white
10.72
#2D2C9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2D2C9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2C9D
10.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2C9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2C9D | 1.00 | 10.72 | 1.96 | 10.72 |
| #FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2d2c9d; /* rgb */ color: rgb(45, 44, 157); /* oklch */ color: oklch(37.9% 0.176 274.4);
Tailwind
colors: {
custom: {
50: '#7766bb',
500: '#2d2c9d',
950: '#000000',
},
}SCSS
$custom: #2d2c9d; $custom-light: #7766bb; $custom-dark: #000000;
JSON
{
"hex": "#2d2c9d",
"rgb": {
"r": 45,
"g": 44,
"b": 157
},
"hsl": {
"h": 240.531,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.37931,
"c": 0.17648,
"h": 274.4
},
"luminance": 0.04794
}Semantic roles & 50–950 ramp
primary
#2D2C9D
secondary
#BCBD68
accent
#E048DE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81