#2D2A9E#2D2A9E
#2D2A9E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.180 H 274.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2A9E |
|---|---|
| RGB | rgb(45, 42, 158) |
| HSL | hsl(242, 58%, 39%) |
| HSV | hsv(242, 73%, 62%) |
| CMYK | cmyk(71.5%, 73.4%, 0%, 38%) |
| CIE-LAB | lab(25.81, 39.64, -62.01) |
| CIE-LCH | lch(25.81, 73.60, 302.59°) |
| OKLab | oklab(37.73% 0.0145 -0.1793) |
| OKLCH | oklch(37.73% 0.18 274.6) |
| XYZ | xyz(8.0797, 4.6817, 32.8190) |
| Luminance | 0.0468 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.48
Indigo Blue
#3A18B1
ΔE00 4.68
Royal
#0C1793
ΔE00 4.90
Cobalt Blue
#030AA7
ΔE00 6.01
Royal Blue (survey)
#0504AA
ΔE00 6.49
Ultramarine
#2000B1
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2A9E #9B9E2A
analogous
#2A619E #2D2A9E #672A9E
triadic
#2D2A9E #9E2D2A #2A9E2D
tetradic
#2D2A9E #9E2A61 #9B9E2A #2A9E67
square
#2D2A9E #9E2A61 #9B9E2A #2A9E67
split-complementary
#2D2A9E #9E672A #619E2A
monochromatic
#11103D #1F1D6E #2D2A9E #3E3ACB #6E6BD8
Accessibility & contrast
On white
10.84
#2D2A9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2D2A9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2A9E
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2A9E | 1.00 | 10.84 | 1.94 | 10.84 |
| #FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2d2a9e; /* rgb */ color: rgb(45, 42, 158); /* oklch */ color: oklch(37.7% 0.180 274.6);
Tailwind
colors: {
custom: {
50: '#7765bc',
500: '#2d2a9e',
950: '#000000',
},
}SCSS
$custom: #2d2a9e; $custom-light: #7765bc; $custom-dark: #000000;
JSON
{
"hex": "#2d2a9e",
"rgb": {
"r": 45,
"g": 42,
"b": 158
},
"hsl": {
"h": 241.552,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.37727,
"c": 0.17989,
"h": 274.6
},
"luminance": 0.04682
}Semantic roles & 50–950 ramp
primary
#2D2A9E
secondary
#BCBE66
accent
#E147DD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81