#2D2D8E#2D2D8E
#2D2D8E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.156 H 275.5°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2D8E |
|---|---|
| RGB | rgb(45, 45, 142) |
| HSL | hsl(240, 52%, 37%) |
| HSV | hsv(240, 68%, 56%) |
| CMYK | cmyk(68.3%, 68.3%, 0%, 44.3%) |
| CIE-LAB | lab(24.91, 32.25, -53.65) |
| CIE-LCH | lch(24.91, 62.60, 301.01°) |
| OKLab | oklab(36.61% 0.0149 -0.1549) |
| OKLCH | oklch(36.61% 0.156 275.5) |
| XYZ | xyz(6.9015, 4.3870, 26.0690) |
| Luminance | 0.0439 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.16
Royal
#0C1793
ΔE00 5.65
Darkslateblue
#483D8B
ΔE00 5.94
Blueberry
#464196
ΔE00 6.22
Midnight Blue
#191970
ΔE00 6.54
Indigo Blue
#3A18B1
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2D8E #8E8E2D
analogous
#2D5E8E #2D2D8E #5E2D8E
triadic
#2D2D8E #8E2D2D #2D8E2D
tetradic
#2D2D8E #8E2D5E #8E8E2D #2D8E5E
square
#2D2D8E #8E2D5E #8E8E2D #2D8E5E
split-complementary
#2D2D8E #8E5E2D #5E8E2D
monochromatic
#101031 #1E1E60 #2D2D8E #3C3CBC #6767CF
Accessibility & contrast
On white
11.18
#2D2D8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2D2D8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2D8E
11.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2D8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2D8E | 1.00 | 11.18 | 1.88 | 11.18 |
| #FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2d2d8e; /* rgb */ color: rgb(45, 45, 142); /* oklch */ color: oklch(36.6% 0.156 275.5);
Tailwind
colors: {
custom: {
50: '#7366b0',
500: '#2d2d8e',
950: '#000000',
},
}SCSS
$custom: #2d2d8e; $custom-light: #7366b0; $custom-dark: #000000;
JSON
{
"hex": "#2d2d8e",
"rgb": {
"r": 45,
"g": 45,
"b": 142
},
"hsl": {
"h": 240,
"s": 51.872,
"l": 36.667
},
"oklch": {
"l": 0.36607,
"c": 0.15559,
"h": 275.5
},
"luminance": 0.04388
}Semantic roles & 50–950 ramp
primary
#2D2D8E
secondary
#B5B561
accent
#DB4CDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80