#2A2DB3#2A2DB3
#2A2DB3 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.2% C 0.204 H 271.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2DB3 |
|---|---|
| RGB | rgb(42, 45, 179) |
| HSL | hsl(239, 62%, 43%) |
| HSV | hsv(239, 77%, 70%) |
| CMYK | cmyk(76.5%, 74.9%, 0%, 29.8%) |
| CIE-LAB | lab(28.44, 44.71, -70.34) |
| CIE-LCH | lch(28.44, 83.34, 302.44°) |
| OKLab | oklab(40.2% 0.0058 -0.2036) |
| OKLCH | oklch(40.2% 0.204 271.6) |
| XYZ | xyz(10.0272, 5.6226, 43.1959) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.62
Indigo Blue
#3A18B1
ΔE00 4.42
True Blue
#010FCC
ΔE00 5.35
Blue Blue
#2242C7
ΔE00 6.24
Mediumblue
#0000CD
ΔE00 6.34
Ultramarine Blue
#1805DB
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2DB3 #B3B02A
analogous
#2A71B3 #2A2DB3 #6B2AB3
triadic
#2A2DB3 #B32A2D #2DB32A
tetradic
#2A2DB3 #B32A71 #B3B02A #2AB36B
square
#2A2DB3 #B32A71 #B3B02A #2AB36B
split-complementary
#2A2DB3 #B36B2A #71B32A
monochromatic
#131450 #1E2181 #2A2DB3 #464AD4 #787ADF
Accessibility & contrast
On white
9.88
#2A2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2A2DB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2DB3
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2DB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2DB3 | 1.00 | 9.88 | 2.12 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a2db3; /* rgb */ color: rgb(42, 45, 179); /* oklch */ color: oklch(40.2% 0.204 271.6);
Tailwind
colors: {
custom: {
50: '#7b68cb',
500: '#2a2db3',
950: '#000000',
},
}SCSS
$custom: #2a2db3; $custom-light: #7b68cb; $custom-dark: #000000;
JSON
{
"hex": "#2a2db3",
"rgb": {
"r": 42,
"g": 45,
"b": 179
},
"hsl": {
"h": 238.686,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.40204,
"c": 0.20371,
"h": 271.6
},
"luminance": 0.05624
}Semantic roles & 50–950 ramp
primary
#2A2DB3
secondary
#C7C572
accent
#E243E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82