#2A1AB3#2A1AB3
#2A1AB3 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 38.0% C 0.219 H 273.1°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2A1AB3 |
|---|---|
| RGB | rgb(42, 26, 179) |
| HSL | hsl(246, 75%, 40%) |
| HSV | hsv(246, 85%, 70%) |
| CMYK | cmyk(76.5%, 85.5%, 0%, 29.8%) |
| CIE-LAB | lab(25.21, 54.06, -75.68) |
| CIE-LCH | lch(25.21, 93.01, 305.54°) |
| OKLab | oklab(37.95% 0.0119 -0.2188) |
| OKLCH | oklch(37.95% 0.219 273.1) |
| XYZ | xyz(9.4582, 4.4847, 43.0062) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.51
Ultramarine
#2000B1
ΔE00 2.98
True Blue
#010FCC
ΔE00 3.07
Mediumblue
#0000CD
ΔE00 3.54
Cobalt Blue
#030AA7
ΔE00 3.62
Royal Blue (survey)
#0504AA
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A1AB3 #A3B31A
analogous
#1A56B3 #2A1AB3 #771AB3
triadic
#2A1AB3 #B32A1A #1AB32A
tetradic
#2A1AB3 #B31A56 #A3B31A #1AB377
square
#2A1AB3 #B31A56 #A3B31A #1AB377
split-complementary
#2A1AB3 #B3771A #56B31A
monochromatic
#110A48 #1D127E #2A1AB3 #3D2AE0 #6E60E8
Accessibility & contrast
On white
11.07
#2A1AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2A1AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A1AB3
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A1AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A1AB3 | 1.00 | 11.07 | 1.90 | 11.07 |
| #FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2a1ab3; /* rgb */ color: rgb(42, 26, 179); /* oklch */ color: oklch(38.0% 0.219 273.1);
Tailwind
colors: {
custom: {
50: '#7d5dcb',
500: '#2a1ab3',
950: '#000000',
},
}SCSS
$custom: #2a1ab3; $custom-light: #7d5dcb; $custom-dark: #000000;
JSON
{
"hex": "#2a1ab3",
"rgb": {
"r": 42,
"g": 26,
"b": 179
},
"hsl": {
"h": 246.275,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.37953,
"c": 0.21917,
"h": 273.1
},
"luminance": 0.04486
}Semantic roles & 50–950 ramp
primary
#2A1AB3
secondary
#C0CC5D
accent
#F137DE
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982