#2A209B#2A209B
#2A209B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.187 H 275.0°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2A209B |
|---|---|
| RGB | rgb(42, 32, 155) |
| HSL | hsl(245, 66%, 37%) |
| HSV | hsv(245, 79%, 61%) |
| CMYK | cmyk(72.9%, 79.4%, 0%, 39.2%) |
| CIE-LAB | lab(23.31, 43.93, -64.31) |
| CIE-LCH | lch(23.31, 77.89, 304.34°) |
| OKLab | oklab(35.81% 0.0164 -0.186) |
| OKLCH | oklch(35.81% 0.187 275) |
| XYZ | xyz(7.3858, 3.8911, 31.3658) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.96
Indigo Blue
#3A18B1
ΔE00 3.78
Cobalt Blue
#030AA7
ΔE00 4.00
Royal Blue (survey)
#0504AA
ΔE00 4.49
Ultramarine
#2000B1
ΔE00 4.70
Darkblue
#00008B
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A209B #919B20
analogous
#20549B #2A209B #68209B
triadic
#2A209B #9B2A20 #209B2A
tetradic
#2A209B #9B2054 #919B20 #209B68
square
#2A209B #9B2054 #919B20 #209B68
split-complementary
#2A209B #9B6820 #549B20
monochromatic
#0F0B36 #1C1668 #2A209B #382ACE #6359DD
Accessibility & contrast
On white
11.81
#2A209B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2A209B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A209B
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A209B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A209B | 1.00 | 11.81 | 1.78 | 11.81 |
| #FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2a209b; /* rgb */ color: rgb(42, 32, 155); /* oklch */ color: oklch(35.8% 0.187 275.0);
Tailwind
colors: {
custom: {
50: '#765eba',
500: '#2a209b',
950: '#000000',
},
}SCSS
$custom: #2a209b; $custom-light: #765eba; $custom-dark: #000000;
JSON
{
"hex": "#2a209b",
"rgb": {
"r": 42,
"g": 32,
"b": 155
},
"hsl": {
"h": 244.878,
"s": 65.775,
"l": 36.667
},
"oklch": {
"l": 0.35811,
"c": 0.18671,
"h": 275
},
"luminance": 0.03892
}Semantic roles & 50–950 ramp
primary
#2A209B
secondary
#B8C156
accent
#E93FDB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981