#2A2DB6#2A2DB6
#2A2DB6 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.5% C 0.207 H 271.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2DB6 |
|---|---|
| RGB | rgb(42, 45, 182) |
| HSL | hsl(239, 63%, 44%) |
| HSV | hsv(239, 77%, 71%) |
| CMYK | cmyk(76.9%, 75.3%, 0%, 28.6%) |
| CIE-LAB | lab(28.76, 45.71, -71.59) |
| CIE-LCH | lch(28.76, 84.94, 302.56°) |
| OKLab | oklab(40.53% 0.0053 -0.2073) |
| OKLCH | oklch(40.53% 0.207 271.5) |
| XYZ | xyz(10.3339, 5.7453, 44.8112) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.77
Indigo Blue
#3A18B1
ΔE00 4.42
True Blue
#010FCC
ΔE00 5.17
Blue Blue
#2242C7
ΔE00 6.08
Ultramarine Blue
#1805DB
ΔE00 6.12
Mediumblue
#0000CD
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2DB6 #B6B32A
analogous
#2A73B6 #2A2DB6 #6D2AB6
triadic
#2A2DB6 #B62A2D #2DB62A
tetradic
#2A2DB6 #B62A73 #B6B32A #2AB66D
square
#2A2DB6 #B62A73 #B6B32A #2AB66D
split-complementary
#2A2DB6 #B66D2A #73B62A
monochromatic
#131453 #1F2184 #2A2DB6 #484BD5 #7A7CE0
Accessibility & contrast
On white
9.77
#2A2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2A2DB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2DB6
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2DB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2DB6 | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#003DB4
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a2db6; /* rgb */ color: rgb(42, 45, 182); /* oklch */ color: oklch(40.5% 0.207 271.5);
Tailwind
colors: {
custom: {
50: '#7c68cd',
500: '#2a2db6',
950: '#000000',
},
}SCSS
$custom: #2a2db6; $custom-light: #7c68cd; $custom-dark: #000000;
JSON
{
"hex": "#2a2db6",
"rgb": {
"r": 42,
"g": 45,
"b": 182
},
"hsl": {
"h": 238.714,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.40527,
"c": 0.20735,
"h": 271.5
},
"luminance": 0.05746
}Semantic roles & 50–950 ramp
primary
#2A2DB6
secondary
#C8C773
accent
#E242E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82