#2A2CAB#2A2CAB
#2A2CAB is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.195 H 272.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2CAB |
|---|---|
| RGB | rgb(42, 44, 171) |
| HSL | hsl(239, 61%, 42%) |
| HSV | hsv(239, 75%, 67%) |
| CMYK | cmyk(75.4%, 74.3%, 0%, 32.9%) |
| CIE-LAB | lab(27.39, 42.58, -67.28) |
| CIE-LCH | lch(27.39, 79.63, 302.33°) |
| OKLab | oklab(39.21% 0.0076 -0.1947) |
| OKLCH | oklch(39.21% 0.195 272.2) |
| XYZ | xyz(9.2037, 5.2329, 39.0452) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.62
Indigo Blue
#3A18B1
ΔE00 4.38
True Blue
#010FCC
ΔE00 5.79
Royal
#0C1793
ΔE00 5.98
Cobalt Blue
#030AA7
ΔE00 6.32
Ultramarine
#2000B1
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2CAB #ABA92A
analogous
#2A6DAB #2A2CAB #692AAB
triadic
#2A2CAB #AB2A2C #2CAB2A
tetradic
#2A2CAB #AB2A6D #ABA92A #2AAB69
square
#2A2CAB #AB2A6D #ABA92A #2AAB69
split-complementary
#2A2CAB #AB692A #6DAB2A
monochromatic
#121349 #1E1F7A #2A2CAB #4244D1 #7374DD
Accessibility & contrast
On white
10.26
#2A2CAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2A2CAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2CAB
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2CAB | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003AA9
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2a2cab; /* rgb */ color: rgb(42, 44, 171); /* oklch */ color: oklch(39.2% 0.195 272.2);
Tailwind
colors: {
custom: {
50: '#7967c5',
500: '#2a2cab',
950: '#000000',
},
}SCSS
$custom: #2a2cab; $custom-light: #7967c5; $custom-dark: #000000;
JSON
{
"hex": "#2a2cab",
"rgb": {
"r": 42,
"g": 44,
"b": 171
},
"hsl": {
"h": 239.07,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.39206,
"c": 0.19489,
"h": 272.2
},
"luminance": 0.05234
}Semantic roles & 50–950 ramp
primary
#2A2CAB
secondary
#C4C36D
accent
#E144E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82