#2D2D7E#2D2D7E
#2D2D7E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.133 H 277.0°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2D7E |
|---|---|
| RGB | rgb(45, 45, 126) |
| HSL | hsl(240, 47%, 34%) |
| HSV | hsv(240, 64%, 49%) |
| CMYK | cmyk(64.3%, 64.3%, 0%, 50.6%) |
| CIE-LAB | lab(23.47, 26.54, -45.99) |
| CIE-LCH | lch(23.47, 53.10, 299.98°) |
| OKLab | oklab(35.11% 0.0164 -0.1324) |
| OKLCH | oklch(35.11% 0.133 277) |
| XYZ | xyz(5.7853, 3.9406, 20.1904) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.62
Darkslateblue
#483D8B
ΔE00 5.81
Blueberry
#464196
ΔE00 6.78
Royal
#0C1793
ΔE00 7.00
Sapphire (survey)
#2138AB
ΔE00 7.25
Marine
#042E60
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2D7E #7E7E2D
analogous
#2D557E #2D2D7E #552D7E
triadic
#2D2D7E #7E2D2D #2D7E2D
tetradic
#2D2D7E #7E2D55 #7E7E2D #2D7E55
square
#2D2D7E #7E2D55 #7E7E2D #2D7E55
split-complementary
#2D2D7E #7E552D #557E2D
monochromatic
#0D0D24 #1D1D51 #2D2D7E #3D3DAB #5F5FC6
Accessibility & contrast
On white
11.74
#2D2D7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2D2D7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2D7E
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2D7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2D7E | 1.00 | 11.74 | 1.79 | 11.74 |
| #FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2d2d7e; /* rgb */ color: rgb(45, 45, 126); /* oklch */ color: oklch(35.1% 0.133 277.0);
Tailwind
colors: {
custom: {
50: '#7066a4',
500: '#2d2d7e',
950: '#000000',
},
}SCSS
$custom: #2d2d7e; $custom-light: #7066a4; $custom-dark: #000000;
JSON
{
"hex": "#2d2d7e",
"rgb": {
"r": 45,
"g": 45,
"b": 126
},
"hsl": {
"h": 240,
"s": 47.368,
"l": 33.529
},
"oklch": {
"l": 0.35113,
"c": 0.13341,
"h": 277
},
"luminance": 0.03941
}Semantic roles & 50–950 ramp
primary
#2D2D7E
secondary
#ACAC5A
accent
#D751D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F