#2D2D8D#2D2D8D
#2D2D8D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.154 H 275.6°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2D8D |
|---|---|
| RGB | rgb(45, 45, 141) |
| HSL | hsl(240, 52%, 36%) |
| HSV | hsv(240, 68%, 55%) |
| CMYK | cmyk(68.1%, 68.1%, 0%, 44.7%) |
| CIE-LAB | lab(24.82, 31.90, -53.18) |
| CIE-LCH | lch(24.82, 62.02, 300.95°) |
| OKLab | oklab(36.51% 0.015 -0.1535) |
| OKLCH | oklch(36.51% 0.154 275.6) |
| XYZ | xyz(6.8267, 4.3571, 25.6754) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.27
Royal
#0C1793
ΔE00 5.70
Darkslateblue
#483D8B
ΔE00 5.91
Blueberry
#464196
ΔE00 6.23
Midnight Blue
#191970
ΔE00 6.45
Indigo Blue
#3A18B1
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2D8D #8D8D2D
analogous
#2D5D8D #2D2D8D #5D2D8D
triadic
#2D2D8D #8D2D2D #2D8D2D
tetradic
#2D2D8D #8D2D5D #8D8D2D #2D8D5D
square
#2D2D8D #8D2D5D #8D8D2D #2D8D5D
split-complementary
#2D2D8D #8D5D2D #5D8D2D
monochromatic
#0F0F30 #1E1E5F #2D2D8D #3C3CBB #6666CE
Accessibility & contrast
On white
11.22
#2D2D8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2D2D8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2D8D
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2D8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2D8D | 1.00 | 11.22 | 1.87 | 11.22 |
| #FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2d2d8d; /* rgb */ color: rgb(45, 45, 141); /* oklch */ color: oklch(36.5% 0.154 275.6);
Tailwind
colors: {
custom: {
50: '#7366af',
500: '#2d2d8d',
950: '#000000',
},
}SCSS
$custom: #2d2d8d; $custom-light: #7366af; $custom-dark: #000000;
JSON
{
"hex": "#2d2d8d",
"rgb": {
"r": 45,
"g": 45,
"b": 141
},
"hsl": {
"h": 240,
"s": 51.613,
"l": 36.471
},
"oklch": {
"l": 0.36511,
"c": 0.15424,
"h": 275.6
},
"luminance": 0.04358
}Semantic roles & 50–950 ramp
primary
#2D2D8D
secondary
#B5B561
accent
#DB4DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F