#2D2D8F#2D2D8F
#2D2D8F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.157 H 275.4°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2D8F |
|---|---|
| RGB | rgb(45, 45, 143) |
| HSL | hsl(240, 52%, 37%) |
| HSV | hsv(240, 69%, 56%) |
| CMYK | cmyk(68.5%, 68.5%, 0%, 43.9%) |
| CIE-LAB | lab(25.01, 32.61, -54.12) |
| CIE-LCH | lch(25.01, 63.18, 301.07°) |
| OKLab | oklab(36.7% 0.0148 -0.1562) |
| OKLCH | oklch(36.7% 0.157 275.4) |
| XYZ | xyz(6.9769, 4.4172, 26.4662) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.05
Royal
#0C1793
ΔE00 5.61
Darkslateblue
#483D8B
ΔE00 5.98
Blueberry
#464196
ΔE00 6.21
Midnight Blue
#191970
ΔE00 6.63
Indigo Blue
#3A18B1
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2D8F #8F8F2D
analogous
#2D5E8F #2D2D8F #5E2D8F
triadic
#2D2D8F #8F2D2D #2D8F2D
tetradic
#2D2D8F #8F2D5E #8F8F2D #2D8F5E
square
#2D2D8F #8F2D5E #8F8F2D #2D8F5E
split-complementary
#2D2D8F #8F5E2D #5E8F2D
monochromatic
#101032 #1E1E60 #2D2D8F #3C3CBE #6767CF
Accessibility & contrast
On white
11.15
#2D2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2D2D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2D8F
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2D8F | 1.00 | 11.15 | 1.88 | 11.15 |
| #FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2d2d8f; /* rgb */ color: rgb(45, 45, 143); /* oklch */ color: oklch(36.7% 0.157 275.4);
Tailwind
colors: {
custom: {
50: '#7466b1',
500: '#2d2d8f',
950: '#000000',
},
}SCSS
$custom: #2d2d8f; $custom-light: #7466b1; $custom-dark: #000000;
JSON
{
"hex": "#2d2d8f",
"rgb": {
"r": 45,
"g": 45,
"b": 143
},
"hsl": {
"h": 240,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.36703,
"c": 0.15694,
"h": 275.4
},
"luminance": 0.04418
}Semantic roles & 50–950 ramp
primary
#2D2D8F
secondary
#B6B662
accent
#DC4CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80