#2D2A8D#2D2A8D
#2D2A8D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.158 H 276.3°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2A8D |
|---|---|
| RGB | rgb(45, 42, 141) |
| HSL | hsl(242, 54%, 36%) |
| HSV | hsv(242, 70%, 55%) |
| CMYK | cmyk(68.1%, 70.2%, 0%, 44.7%) |
| CIE-LAB | lab(24.12, 33.79, -54.33) |
| CIE-LCH | lch(24.12, 63.99, 301.88°) |
| OKLab | oklab(36% 0.0173 -0.1569) |
| OKLCH | oklch(36% 0.158 276.3) |
| XYZ | xyz(6.7163, 4.1363, 25.6386) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.95
Sapphire (survey)
#2138AB
ΔE00 5.77
Midnight Blue
#191970
ΔE00 5.94
Darkslateblue
#483D8B
ΔE00 6.47
Indigo Blue
#3A18B1
ΔE00 6.65
Blueberry
#464196
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2A8D #8A8D2A
analogous
#2A588D #2D2A8D #5E2A8D
triadic
#2D2A8D #8D2D2A #2A8D2D
tetradic
#2D2A8D #8D2A58 #8A8D2A #2A8D5E
square
#2D2A8D #8D2A58 #8A8D2A #2A8D5E
split-complementary
#2D2A8D #8D5E2A #588D2A
monochromatic
#0F0E2F #1E1C5E #2D2A8D #3C38BC #6561D0
Accessibility & contrast
On white
11.49
#2D2A8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2D2A8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2A8D
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2A8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2A8D | 1.00 | 11.49 | 1.83 | 11.49 |
| #FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2d2a8d; /* rgb */ color: rgb(45, 42, 141); /* oklch */ color: oklch(36.0% 0.158 276.3);
Tailwind
colors: {
custom: {
50: '#7364af',
500: '#2d2a8d',
950: '#000000',
},
}SCSS
$custom: #2d2a8d; $custom-light: #7364af; $custom-dark: #000000;
JSON
{
"hex": "#2d2a8d",
"rgb": {
"r": 45,
"g": 42,
"b": 141
},
"hsl": {
"h": 241.818,
"s": 54.098,
"l": 35.882
},
"oklch": {
"l": 0.36003,
"c": 0.15782,
"h": 276.3
},
"luminance": 0.04137
}Semantic roles & 50–950 ramp
primary
#2D2A8D
secondary
#B3B65D
accent
#DD4AD9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F