#2A2DB1#2A2DB1
#2A2DB1 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.0% C 0.201 H 271.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2DB1 |
|---|---|
| RGB | rgb(42, 45, 177) |
| HSL | hsl(239, 62%, 43%) |
| HSV | hsv(239, 76%, 69%) |
| CMYK | cmyk(76.3%, 74.6%, 0%, 30.6%) |
| CIE-LAB | lab(28.23, 44.03, -69.49) |
| CIE-LCH | lch(28.23, 82.27, 302.36°) |
| OKLab | oklab(39.99% 0.0061 -0.2012) |
| OKLCH | oklch(39.99% 0.201 271.7) |
| XYZ | xyz(9.8264, 5.5423, 42.1383) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.53
Indigo Blue
#3A18B1
ΔE00 4.44
True Blue
#010FCC
ΔE00 5.49
Blue Blue
#2242C7
ΔE00 6.36
Mediumblue
#0000CD
ΔE00 6.46
Ocean Blue
#4F42B5
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2DB1 #B1AE2A
analogous
#2A70B1 #2A2DB1 #6B2AB1
triadic
#2A2DB1 #B12A2D #2DB12A
tetradic
#2A2DB1 #B12A70 #B1AE2A #2AB16B
square
#2A2DB1 #B12A70 #B1AE2A #2AB16B
split-complementary
#2A2DB1 #B16B2A #70B12A
monochromatic
#13144E #1E2080 #2A2DB1 #4548D3 #7779DF
Accessibility & contrast
On white
9.96
#2A2DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2A2DB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2DB1
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2DB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2DB1 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003CAF
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a2db1; /* rgb */ color: rgb(42, 45, 177); /* oklch */ color: oklch(40.0% 0.201 271.7);
Tailwind
colors: {
custom: {
50: '#7a68ca',
500: '#2a2db1',
950: '#000000',
},
}SCSS
$custom: #2a2db1; $custom-light: #7a68ca; $custom-dark: #000000;
JSON
{
"hex": "#2a2db1",
"rgb": {
"r": 42,
"g": 45,
"b": 177
},
"hsl": {
"h": 238.667,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.3999,
"c": 0.20126,
"h": 271.7
},
"luminance": 0.05543
}Semantic roles & 50–950 ramp
primary
#2A2DB1
secondary
#C6C470
accent
#E143E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82