#2D2D82#2D2D82
#2D2D82 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.139 H 276.6°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2D82 |
|---|---|
| RGB | rgb(45, 45, 130) |
| HSL | hsl(240, 49%, 34%) |
| HSV | hsv(240, 65%, 51%) |
| CMYK | cmyk(65.4%, 65.4%, 0%, 49%) |
| CIE-LAB | lab(23.82, 27.97, -47.94) |
| CIE-LCH | lch(23.82, 55.51, 300.26°) |
| OKLab | oklab(35.48% 0.0161 -0.1381) |
| OKLCH | oklch(35.48% 0.139 276.6) |
| XYZ | xyz(6.0485, 4.0459, 21.5770) |
| Luminance | 0.0405 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.73
Darkslateblue
#483D8B
ΔE00 5.75
Blueberry
#464196
ΔE00 6.55
Royal
#0C1793
ΔE00 6.56
Sapphire (survey)
#2138AB
ΔE00 6.67
Marine
#042E60
ΔE00 8.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2D82 #82822D
analogous
#2D5882 #2D2D82 #582D82
triadic
#2D2D82 #822D2D #2D822D
tetradic
#2D2D82 #822D58 #82822D #2D8258
square
#2D2D82 #822D58 #82822D #2D8258
split-complementary
#2D2D82 #82582D #58822D
monochromatic
#0E0E27 #1D1D55 #2D2D82 #3D3DAF #6161C8
Accessibility & contrast
On white
11.61
#2D2D82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2D2D82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2D82
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2D82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2D82 | 1.00 | 11.61 | 1.81 | 11.61 |
| #FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2d2d82; /* rgb */ color: rgb(45, 45, 130); /* oklch */ color: oklch(35.5% 0.139 276.6);
Tailwind
colors: {
custom: {
50: '#7166a7',
500: '#2d2d82',
950: '#000000',
},
}SCSS
$custom: #2d2d82; $custom-light: #7166a7; $custom-dark: #000000;
JSON
{
"hex": "#2d2d82",
"rgb": {
"r": 45,
"g": 45,
"b": 130
},
"hsl": {
"h": 240,
"s": 48.571,
"l": 34.314
},
"oklch": {
"l": 0.35477,
"c": 0.13906,
"h": 276.6
},
"luminance": 0.04046
}Semantic roles & 50–950 ramp
primary
#2D2D82
secondary
#AFAF5C
accent
#D850D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F