#2A2AB3#2A2AB3
#2A2AB3 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.8% C 0.207 H 271.9°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2AB3 |
|---|---|
| RGB | rgb(42, 42, 179) |
| HSL | hsl(240, 62%, 43%) |
| HSV | hsv(240, 77%, 70%) |
| CMYK | cmyk(76.5%, 76.5%, 0%, 29.8%) |
| CIE-LAB | lab(27.85, 46.38, -71.31) |
| CIE-LCH | lch(27.85, 85.07, 303.04°) |
| OKLab | oklab(39.79% 0.007 -0.2064) |
| OKLCH | oklch(39.79% 0.207 271.9) |
| XYZ | xyz(9.9168, 5.4018, 43.1591) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.76
Sapphire (survey)
#2138AB
ΔE00 4.27
True Blue
#010FCC
ΔE00 4.79
Mediumblue
#0000CD
ΔE00 5.74
Ultramarine Blue
#1805DB
ΔE00 5.93
Ultramarine
#2000B1
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2AB3 #B3B32A
analogous
#2A6EB3 #2A2AB3 #6E2AB3
triadic
#2A2AB3 #B32A2A #2AB32A
tetradic
#2A2AB3 #B32A6E #B3B32A #2AB36E
square
#2A2AB3 #B32A6E #B3B32A #2AB36E
split-complementary
#2A2AB3 #B36E2A #6EB32A
monochromatic
#131350 #1E1E81 #2A2AB3 #4646D4 #7878DF
Accessibility & contrast
On white
10.09
#2A2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2A2AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2AB3
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2AB3 | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2a2ab3; /* rgb */ color: rgb(42, 42, 179); /* oklch */ color: oklch(39.8% 0.207 271.9);
Tailwind
colors: {
custom: {
50: '#7b66cb',
500: '#2a2ab3',
950: '#000000',
},
}SCSS
$custom: #2a2ab3; $custom-light: #7b66cb; $custom-dark: #000000;
JSON
{
"hex": "#2a2ab3",
"rgb": {
"r": 42,
"g": 42,
"b": 179
},
"hsl": {
"h": 240,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.39787,
"c": 0.20655,
"h": 271.9
},
"luminance": 0.05403
}Semantic roles & 50–950 ramp
primary
#2A2AB3
secondary
#C7C772
accent
#E543E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82