#2D2D9E#2D2D9E
#2D2D9E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.177 H 274.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2D9E |
|---|---|
| RGB | rgb(45, 45, 158) |
| HSL | hsl(240, 56%, 40%) |
| HSV | hsv(240, 72%, 62%) |
| CMYK | cmyk(71.5%, 71.5%, 0%, 38%) |
| CIE-LAB | lab(26.46, 37.85, -60.95) |
| CIE-LCH | lch(26.46, 71.74, 301.84°) |
| OKLab | oklab(38.19% 0.0128 -0.1762) |
| OKLCH | oklch(38.19% 0.177 274.1) |
| XYZ | xyz(8.1901, 4.9025, 32.8558) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.79
Indigo Blue
#3A18B1
ΔE00 5.31
Royal
#0C1793
ΔE00 5.54
Blueberry
#464196
ΔE00 6.46
Cobalt Blue
#030AA7
ΔE00 6.73
Darkslateblue
#483D8B
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2D9E #9E9E2D
analogous
#2D669E #2D2D9E #662D9E
triadic
#2D2D9E #9E2D2D #2D9E2D
tetradic
#2D2D9E #9E2D66 #9E9E2D #2D9E66
square
#2D2D9E #9E2D66 #9E9E2D #2D9E66
split-complementary
#2D2D9E #9E662D #669E2D
monochromatic
#12123F #1F1F6E #2D2D9E #4040C9 #6F6FD6
Accessibility & contrast
On white
10.60
#2D2D9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2D2D9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2D9E
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2D9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2D9E | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2d2d9e; /* rgb */ color: rgb(45, 45, 158); /* oklch */ color: oklch(38.2% 0.177 274.1);
Tailwind
colors: {
custom: {
50: '#7767bc',
500: '#2d2d9e',
950: '#000000',
},
}SCSS
$custom: #2d2d9e; $custom-light: #7767bc; $custom-dark: #000000;
JSON
{
"hex": "#2d2d9e",
"rgb": {
"r": 45,
"g": 45,
"b": 158
},
"hsl": {
"h": 240,
"s": 55.665,
"l": 39.804
},
"oklch": {
"l": 0.38189,
"c": 0.17666,
"h": 274.1
},
"luminance": 0.04903
}Semantic roles & 50–950 ramp
primary
#2D2D9E
secondary
#BDBD69
accent
#DF49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81