#2D2C82#2D2C82
#2D2C82 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.140 H 276.9°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2C82 |
|---|---|
| RGB | rgb(45, 44, 130) |
| HSL | hsl(241, 49%, 34%) |
| HSV | hsv(241, 66%, 51%) |
| CMYK | cmyk(65.4%, 66.2%, 0%, 49%) |
| CIE-LAB | lab(23.57, 28.63, -48.35) |
| CIE-LCH | lch(23.57, 56.19, 300.63°) |
| OKLab | oklab(35.3% 0.017 -0.1393) |
| OKLCH | oklch(35.3% 0.14 276.9) |
| XYZ | xyz(6.0108, 3.9705, 21.5644) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.49
Darkslateblue
#483D8B
ΔE00 5.92
Royal
#0C1793
ΔE00 6.31
Blueberry
#464196
ΔE00 6.75
Sapphire (survey)
#2138AB
ΔE00 6.78
Indigo Blue
#3A18B1
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2C82 #81822C
analogous
#2C5682 #2D2C82 #582C82
triadic
#2D2C82 #822D2C #2C822D
tetradic
#2D2C82 #822C56 #81822C #2C8258
square
#2D2C82 #822C56 #81822C #2C8258
split-complementary
#2D2C82 #82582C #56822C
monochromatic
#0D0D27 #1D1D54 #2D2C82 #3D3BB0 #615FC9
Accessibility & contrast
On white
11.70
#2D2C82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2D2C82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2C82
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2C82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2C82 | 1.00 | 11.70 | 1.79 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2d2c82; /* rgb */ color: rgb(45, 44, 130); /* oklch */ color: oklch(35.3% 0.140 276.9);
Tailwind
colors: {
custom: {
50: '#7165a7',
500: '#2d2c82',
950: '#000000',
},
}SCSS
$custom: #2d2c82; $custom-light: #7165a7; $custom-dark: #000000;
JSON
{
"hex": "#2d2c82",
"rgb": {
"r": 45,
"g": 44,
"b": 130
},
"hsl": {
"h": 240.698,
"s": 49.425,
"l": 34.118
},
"oklch": {
"l": 0.35295,
"c": 0.14036,
"h": 276.9
},
"luminance": 0.03971
}Semantic roles & 50–950 ramp
primary
#2D2C82
secondary
#AEAF5B
accent
#D94FD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F