#2A2DB2#2A2DB2
#2A2DB2 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.1% C 0.202 H 271.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2DB2 |
|---|---|
| RGB | rgb(42, 45, 178) |
| HSL | hsl(239, 62%, 43%) |
| HSV | hsv(239, 76%, 70%) |
| CMYK | cmyk(76.4%, 74.7%, 0%, 30.2%) |
| CIE-LAB | lab(28.33, 44.37, -69.92) |
| CIE-LCH | lch(28.33, 82.81, 302.40°) |
| OKLab | oklab(40.1% 0.006 -0.2024) |
| OKLCH | oklch(40.1% 0.202 271.7) |
| XYZ | xyz(9.9264, 5.5823, 42.6652) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.57
Indigo Blue
#3A18B1
ΔE00 4.43
True Blue
#010FCC
ΔE00 5.42
Blue Blue
#2242C7
ΔE00 6.30
Mediumblue
#0000CD
ΔE00 6.40
Ultramarine Blue
#1805DB
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2DB2 #B2AF2A
analogous
#2A71B2 #2A2DB2 #6B2AB2
triadic
#2A2DB2 #B22A2D #2DB22A
tetradic
#2A2DB2 #B22A71 #B2AF2A #2AB26B
square
#2A2DB2 #B22A71 #B2AF2A #2AB26B
split-complementary
#2A2DB2 #B26B2A #71B22A
monochromatic
#13144F #1E2080 #2A2DB2 #4649D3 #777ADF
Accessibility & contrast
On white
9.92
#2A2DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2A2DB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2DB2
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2DB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2DB2 | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#003CB0
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a2db2; /* rgb */ color: rgb(42, 45, 178); /* oklch */ color: oklch(40.1% 0.202 271.7);
Tailwind
colors: {
custom: {
50: '#7b68ca',
500: '#2a2db2',
950: '#000000',
},
}SCSS
$custom: #2a2db2; $custom-light: #7b68ca; $custom-dark: #000000;
JSON
{
"hex": "#2a2db2",
"rgb": {
"r": 42,
"g": 45,
"b": 178
},
"hsl": {
"h": 238.676,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.40097,
"c": 0.20249,
"h": 271.7
},
"luminance": 0.05583
}Semantic roles & 50–950 ramp
primary
#2A2DB2
secondary
#C7C571
accent
#E143E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82