#2A2AB0#2A2AB0
#2A2AB0 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.5% C 0.203 H 272.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2AB0 |
|---|---|
| RGB | rgb(42, 42, 176) |
| HSL | hsl(240, 61%, 43%) |
| HSV | hsv(240, 76%, 69%) |
| CMYK | cmyk(76.1%, 76.1%, 0%, 31%) |
| CIE-LAB | lab(27.52, 45.39, -70.06) |
| CIE-LCH | lch(27.52, 83.48, 302.94°) |
| OKLab | oklab(39.46% 0.0076 -0.2028) |
| OKLCH | oklch(39.46% 0.203 272.1) |
| XYZ | xyz(9.6166, 5.2817, 41.5785) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.79
Sapphire (survey)
#2138AB
ΔE00 4.18
True Blue
#010FCC
ΔE00 5.02
Mediumblue
#0000CD
ΔE00 5.93
Ultramarine
#2000B1
ΔE00 5.99
Cobalt Blue
#030AA7
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2AB0 #B0B02A
analogous
#2A6DB0 #2A2AB0 #6D2AB0
triadic
#2A2AB0 #B02A2A #2AB02A
tetradic
#2A2AB0 #B02A6D #B0B02A #2AB06D
square
#2A2AB0 #B02A6D #B0B02A #2AB06D
split-complementary
#2A2AB0 #B06D2A #6DB02A
monochromatic
#12124D #1E1E7F #2A2AB0 #4545D3 #7676DE
Accessibility & contrast
On white
10.21
#2A2AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2A2AB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2AB0
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2AB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2AB0 | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003AAE
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2a2ab0; /* rgb */ color: rgb(42, 42, 176); /* oklch */ color: oklch(39.5% 0.203 272.1);
Tailwind
colors: {
custom: {
50: '#7a66c9',
500: '#2a2ab0',
950: '#000000',
},
}SCSS
$custom: #2a2ab0; $custom-light: #7a66c9; $custom-dark: #000000;
JSON
{
"hex": "#2a2ab0",
"rgb": {
"r": 42,
"g": 42,
"b": 176
},
"hsl": {
"h": 240,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.3946,
"c": 0.20293,
"h": 272.1
},
"luminance": 0.05283
}Semantic roles & 50–950 ramp
primary
#2A2AB0
secondary
#C6C670
accent
#E543E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82