#2C2AAA#2C2AAA
#2C2AAA is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.195 H 273.3°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2AAA |
|---|---|
| RGB | rgb(44, 42, 170) |
| HSL | hsl(241, 60%, 42%) |
| HSV | hsv(241, 75%, 67%) |
| CMYK | cmyk(74.1%, 75.3%, 0%, 33.3%) |
| CIE-LAB | lab(27.00, 43.57, -67.32) |
| CIE-LCH | lch(27.00, 80.19, 302.91°) |
| OKLab | oklab(38.93% 0.0111 -0.1948) |
| OKLCH | oklch(38.93% 0.195 273.3) |
| XYZ | xyz(9.1199, 5.0927, 38.5248) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.88
Sapphire (survey)
#2138AB
ΔE00 4.17
True Blue
#010FCC
ΔE00 5.55
Royal
#0C1793
ΔE00 5.62
Cobalt Blue
#030AA7
ΔE00 5.88
Ultramarine
#2000B1
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2AAA #A8AA2A
analogous
#2A68AA #2C2AAA #6C2AAA
triadic
#2C2AAA #AA2C2A #2AAA2C
tetradic
#2C2AAA #AA2A68 #A8AA2A #2AAA6C
square
#2C2AAA #AA2A68 #A8AA2A #2AAA6C
split-complementary
#2C2AAA #AA6C2A #68AA2A
monochromatic
#131248 #1F1E79 #2C2AAA #4341D0 #7472DC
Accessibility & contrast
On white
10.40
#2C2AAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2C2AAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2AAA
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2AAA | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#003AA8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2c2aaa; /* rgb */ color: rgb(44, 42, 170); /* oklch */ color: oklch(38.9% 0.195 273.3);
Tailwind
colors: {
custom: {
50: '#7a65c5',
500: '#2c2aaa',
950: '#000000',
},
}SCSS
$custom: #2c2aaa; $custom-light: #7a65c5; $custom-dark: #000000;
JSON
{
"hex": "#2c2aaa",
"rgb": {
"r": 44,
"g": 42,
"b": 170
},
"hsl": {
"h": 240.938,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.38929,
"c": 0.1951,
"h": 273.3
},
"luminance": 0.05094
}Semantic roles & 50–950 ramp
primary
#2C2AAA
secondary
#C2C36C
accent
#E444E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82