#2D2D7D#2D2D7D
#2D2D7D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.132 H 277.1°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2D7D |
|---|---|
| RGB | rgb(45, 45, 125) |
| HSL | hsl(240, 47%, 33%) |
| HSV | hsv(240, 64%, 49%) |
| CMYK | cmyk(64%, 64%, 0%, 51%) |
| CIE-LAB | lab(23.39, 26.17, -45.50) |
| CIE-LCH | lch(23.39, 52.49, 299.91°) |
| OKLab | oklab(35.02% 0.0164 -0.1309) |
| OKLCH | oklch(35.02% 0.132 277.1) |
| XYZ | xyz(5.7210, 3.9149, 19.8522) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.61
Darkslateblue
#483D8B
ΔE00 5.83
Blueberry
#464196
ΔE00 6.84
Royal
#0C1793
ΔE00 7.13
Sapphire (survey)
#2138AB
ΔE00 7.39
Marine
#042E60
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2D7D #7D7D2D
analogous
#2D557D #2D2D7D #552D7D
triadic
#2D2D7D #7D2D2D #2D7D2D
tetradic
#2D2D7D #7D2D55 #7D7D2D #2D7D55
square
#2D2D7D #7D2D55 #7D7D2D #2D7D55
split-complementary
#2D2D7D #7D552D #557D2D
monochromatic
#0D0D23 #1D1D50 #2D2D7D #3D3DAA #5F5FC5
Accessibility & contrast
On white
11.78
#2D2D7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2D2D7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2D7D
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2D7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2D7D | 1.00 | 11.78 | 1.78 | 11.78 |
| #FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2d2d7d; /* rgb */ color: rgb(45, 45, 125); /* oklch */ color: oklch(35.0% 0.132 277.1);
Tailwind
colors: {
custom: {
50: '#7066a3',
500: '#2d2d7d',
950: '#000000',
},
}SCSS
$custom: #2d2d7d; $custom-light: #7066a3; $custom-dark: #000000;
JSON
{
"hex": "#2d2d7d",
"rgb": {
"r": 45,
"g": 45,
"b": 125
},
"hsl": {
"h": 240,
"s": 47.059,
"l": 33.333
},
"oklch": {
"l": 0.35024,
"c": 0.13197,
"h": 277.1
},
"luminance": 0.03915
}Semantic roles & 50–950 ramp
primary
#2D2D7D
secondary
#ACAC5A
accent
#D751D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F