#2A2DB8#2A2DB8
#2A2DB8 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.210 H 271.3°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2DB8 |
|---|---|
| RGB | rgb(42, 45, 184) |
| HSL | hsl(239, 63%, 44%) |
| HSV | hsv(239, 77%, 72%) |
| CMYK | cmyk(77.2%, 75.5%, 0%, 27.8%) |
| CIE-LAB | lab(28.98, 46.37, -72.43) |
| CIE-LCH | lch(28.98, 86.00, 302.63°) |
| OKLab | oklab(40.74% 0.0049 -0.2097) |
| OKLCH | oklch(40.74% 0.21 271.3) |
| XYZ | xyz(10.5420, 5.8285, 45.9075) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.89
Indigo Blue
#3A18B1
ΔE00 4.45
True Blue
#010FCC
ΔE00 5.07
Ultramarine Blue
#1805DB
ΔE00 5.95
Blue Blue
#2242C7
ΔE00 5.98
Mediumblue
#0000CD
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2DB8 #B8B52A
analogous
#2A74B8 #2A2DB8 #6E2AB8
triadic
#2A2DB8 #B82A2D #2DB82A
tetradic
#2A2DB8 #B82A74 #B8B52A #2AB86E
square
#2A2DB8 #B82A74 #B8B52A #2AB86E
split-complementary
#2A2DB8 #B86E2A #74B82A
monochromatic
#131554 #1F2186 #2A2DB8 #4A4DD6 #7B7EE1
Accessibility & contrast
On white
9.70
#2A2DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2A2DB8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2DB8
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2DB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2DB8 | 1.00 | 9.70 | 2.17 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BBC
Deuteranopia (green-blind)
#003DB6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a2db8; /* rgb */ color: rgb(42, 45, 184); /* oklch */ color: oklch(40.7% 0.210 271.3);
Tailwind
colors: {
custom: {
50: '#7c68cf',
500: '#2a2db8',
950: '#000000',
},
}SCSS
$custom: #2a2db8; $custom-light: #7c68cf; $custom-dark: #000000;
JSON
{
"hex": "#2a2db8",
"rgb": {
"r": 42,
"g": 45,
"b": 184
},
"hsl": {
"h": 238.732,
"s": 62.832,
"l": 44.314
},
"oklch": {
"l": 0.40743,
"c": 0.20976,
"h": 271.3
},
"luminance": 0.0583
}Semantic roles & 50–950 ramp
primary
#2A2DB8
secondary
#C9C775
accent
#E242E6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82