#2C2AAB#2C2AAB
#2C2AAB is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.196 H 273.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2AAB |
|---|---|
| RGB | rgb(44, 42, 171) |
| HSL | hsl(241, 61%, 42%) |
| HSV | hsv(241, 75%, 67%) |
| CMYK | cmyk(74.3%, 75.4%, 0%, 32.9%) |
| CIE-LAB | lab(27.10, 43.90, -67.75) |
| CIE-LCH | lch(27.10, 80.73, 302.94°) |
| OKLab | oklab(39.04% 0.0109 -0.196) |
| OKLCH | oklch(39.04% 0.196 273.2) |
| XYZ | xyz(9.2149, 5.1307, 39.0249) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.84
Sapphire (survey)
#2138AB
ΔE00 4.18
True Blue
#010FCC
ΔE00 5.45
Royal
#0C1793
ΔE00 5.70
Cobalt Blue
#030AA7
ΔE00 5.90
Ultramarine
#2000B1
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2AAB #A9AB2A
analogous
#2A69AB #2C2AAB #6D2AAB
triadic
#2C2AAB #AB2C2A #2AAB2C
tetradic
#2C2AAB #AB2A69 #A9AB2A #2AAB6D
square
#2C2AAB #AB2A69 #A9AB2A #2AAB6D
split-complementary
#2C2AAB #AB6D2A #69AB2A
monochromatic
#131249 #1F1E7A #2C2AAB #4442D1 #7473DD
Accessibility & contrast
On white
10.36
#2C2AAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2C2AAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2AAB
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2AAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2AAB | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#003AA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2c2aab; /* rgb */ color: rgb(44, 42, 171); /* oklch */ color: oklch(39.0% 0.196 273.2);
Tailwind
colors: {
custom: {
50: '#7a65c5',
500: '#2c2aab',
950: '#000000',
},
}SCSS
$custom: #2c2aab; $custom-light: #7a65c5; $custom-dark: #000000;
JSON
{
"hex": "#2c2aab",
"rgb": {
"r": 44,
"g": 42,
"b": 171
},
"hsl": {
"h": 240.93,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.39036,
"c": 0.19633,
"h": 273.2
},
"luminance": 0.05132
}Semantic roles & 50–950 ramp
primary
#2C2AAB
secondary
#C3C46D
accent
#E444E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82