#2D2D76#2D2D76
#2D2D76 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.122 H 277.9°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2D76 |
|---|---|
| RGB | rgb(45, 45, 118) |
| HSL | hsl(240, 45%, 32%) |
| HSV | hsv(240, 62%, 46%) |
| CMYK | cmyk(61.9%, 61.9%, 0%, 53.7%) |
| CIE-LAB | lab(22.80, 23.65, -42.01) |
| CIE-LCH | lch(22.80, 48.21, 299.38°) |
| OKLab | oklab(34.41% 0.0167 -0.1207) |
| OKLCH | oklch(34.41% 0.122 277.9) |
| XYZ | xyz(5.2895, 3.7423, 17.5796) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.71
Darkslateblue
#483D8B
ΔE00 6.15
Blueberry
#464196
ΔE00 7.40
Marine
#042E60
ΔE00 7.67
Royal
#0C1793
ΔE00 8.06
Sapphire (survey)
#2138AB
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2D76 #76762D
analogous
#2D5276 #2D2D76 #522D76
triadic
#2D2D76 #762D2D #2D762D
tetradic
#2D2D76 #762D52 #76762D #2D7652
square
#2D2D76 #762D52 #76762D #2D7652
split-complementary
#2D2D76 #76522D #52762D
monochromatic
#0B0B1D #1C1C4A #2D2D76 #3E3EA2 #5C5CC1
Accessibility & contrast
On white
12.01
#2D2D76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#2D2D76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2D76
12.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2D76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2D76 | 1.00 | 12.01 | 1.75 | 12.01 |
| #FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2d2d76; /* rgb */ color: rgb(45, 45, 118); /* oklch */ color: oklch(34.4% 0.122 277.9);
Tailwind
colors: {
custom: {
50: '#6e669e',
500: '#2d2d76',
950: '#000000',
},
}SCSS
$custom: #2d2d76; $custom-light: #6e669e; $custom-dark: #000000;
JSON
{
"hex": "#2d2d76",
"rgb": {
"r": 45,
"g": 45,
"b": 118
},
"hsl": {
"h": 240,
"s": 44.785,
"l": 31.961
},
"oklch": {
"l": 0.34407,
"c": 0.12184,
"h": 277.9
},
"luminance": 0.03743
}Semantic roles & 50–950 ramp
primary
#2D2D76
secondary
#A7A757
accent
#D453D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E