#2C2AAD#2C2AAD
#2C2AAD is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.3% C 0.199 H 273.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2AAD |
|---|---|
| RGB | rgb(44, 42, 173) |
| HSL | hsl(241, 61%, 42%) |
| HSV | hsv(241, 76%, 68%) |
| CMYK | cmyk(74.6%, 75.7%, 0%, 32.2%) |
| CIE-LAB | lab(27.32, 44.57, -68.60) |
| CIE-LCH | lch(27.32, 81.80, 303.01°) |
| OKLab | oklab(39.25% 0.0105 -0.1985) |
| OKLCH | oklch(39.25% 0.199 273) |
| XYZ | xyz(9.4070, 5.2076, 40.0365) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.76
Sapphire (survey)
#2138AB
ΔE00 4.20
True Blue
#010FCC
ΔE00 5.27
Royal
#0C1793
ΔE00 5.87
Cobalt Blue
#030AA7
ΔE00 5.94
Ultramarine
#2000B1
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2AAD #ABAD2A
analogous
#2A6AAD #2C2AAD #6E2AAD
triadic
#2C2AAD #AD2C2A #2AAD2C
tetradic
#2C2AAD #AD2A6A #ABAD2A #2AAD6E
square
#2C2AAD #AD2A6A #ABAD2A #2AAD6E
split-complementary
#2C2AAD #AD6E2A #6AAD2A
monochromatic
#13124B #1F1E7C #2C2AAD #4543D1 #7674DD
Accessibility & contrast
On white
10.29
#2C2AAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2C2AAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2AAD
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2AAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2AAD | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B1
Deuteranopia (green-blind)
#003AAB
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2c2aad; /* rgb */ color: rgb(44, 42, 173); /* oklch */ color: oklch(39.3% 0.199 273.0);
Tailwind
colors: {
custom: {
50: '#7a66c7',
500: '#2c2aad',
950: '#000000',
},
}SCSS
$custom: #2c2aad; $custom-light: #7a66c7; $custom-dark: #000000;
JSON
{
"hex": "#2c2aad",
"rgb": {
"r": 44,
"g": 42,
"b": 173
},
"hsl": {
"h": 240.916,
"s": 60.93,
"l": 42.157
},
"oklch": {
"l": 0.39251,
"c": 0.19878,
"h": 273
},
"luminance": 0.05209
}Semantic roles & 50–950 ramp
primary
#2C2AAD
secondary
#C3C56E
accent
#E444E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82