#2D2A96#2D2A96
#2D2A96 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.170 H 275.4°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2A96 |
|---|---|
| RGB | rgb(45, 42, 150) |
| HSL | hsl(242, 56%, 38%) |
| HSV | hsv(242, 72%, 59%) |
| CMYK | cmyk(70%, 72%, 0%, 41.2%) |
| CIE-LAB | lab(25.00, 36.91, -58.45) |
| CIE-LCH | lch(25.00, 69.13, 302.27°) |
| OKLab | oklab(36.91% 0.0159 -0.1689) |
| OKLCH | oklch(36.91% 0.17 275.4) |
| XYZ | xyz(7.4134, 4.4151, 29.3098) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.73
Sapphire (survey)
#2138AB
ΔE00 4.97
Indigo Blue
#3A18B1
ΔE00 5.52
Cobalt Blue
#030AA7
ΔE00 6.40
Darkslateblue
#483D8B
ΔE00 6.85
Midnight Blue
#191970
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2A96 #93962A
analogous
#2A5D96 #2D2A96 #632A96
triadic
#2D2A96 #962D2A #2A962D
tetradic
#2D2A96 #962A5D #93962A #2A9663
square
#2D2A96 #962A5D #93962A #2A9663
split-complementary
#2D2A96 #96632A #5D962A
monochromatic
#100F36 #1F1D66 #2D2A96 #3B37C6 #6966D4
Accessibility & contrast
On white
11.15
#2D2A96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2D2A96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2A96
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2A96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2A96 | 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)
#004099
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2d2a96; /* rgb */ color: rgb(45, 42, 150); /* oklch */ color: oklch(36.9% 0.170 275.4);
Tailwind
colors: {
custom: {
50: '#7565b6',
500: '#2d2a96',
950: '#000000',
},
}SCSS
$custom: #2d2a96; $custom-light: #7565b6; $custom-dark: #000000;
JSON
{
"hex": "#2d2a96",
"rgb": {
"r": 45,
"g": 42,
"b": 150
},
"hsl": {
"h": 241.667,
"s": 56.25,
"l": 37.647
},
"oklch": {
"l": 0.36905,
"c": 0.16965,
"h": 275.4
},
"luminance": 0.04416
}Semantic roles & 50–950 ramp
primary
#2D2A96
secondary
#B8BA61
accent
#E048DB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80