#2C2AA1#2C2AA1
#2C2AA1 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.184 H 274.0°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2AA1 |
|---|---|
| RGB | rgb(44, 42, 161) |
| HSL | hsl(241, 59%, 40%) |
| HSV | hsv(241, 74%, 63%) |
| CMYK | cmyk(72.7%, 73.9%, 0%, 36.9%) |
| CIE-LAB | lab(26.05, 40.55, -63.44) |
| CIE-LCH | lch(26.05, 75.30, 302.59°) |
| OKLab | oklab(37.97% 0.0127 -0.1835) |
| OKLCH | oklch(37.97% 0.184 274) |
| XYZ | xyz(8.2976, 4.7638, 34.1935) |
| Luminance | 0.0476 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.32
Indigo Blue
#3A18B1
ΔE00 4.47
Royal
#0C1793
ΔE00 5.00
Cobalt Blue
#030AA7
ΔE00 5.91
Ultramarine
#2000B1
ΔE00 6.37
Royal Blue (survey)
#0504AA
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2AA1 #9FA12A
analogous
#2A64A1 #2C2AA1 #672AA1
triadic
#2C2AA1 #A12C2A #2AA12C
tetradic
#2C2AA1 #A12A64 #9FA12A #2AA167
square
#2C2AA1 #A12A64 #9FA12A #2AA167
split-complementary
#2C2AA1 #A1672A #64A12A
monochromatic
#111140 #1F1D70 #2C2AA1 #3E3CCC #6E6DD9
Accessibility & contrast
On white
10.75
#2C2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2C2AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2AA1
10.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2AA1 | 1.00 | 10.75 | 1.95 | 10.75 |
| #FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2c2aa1; /* rgb */ color: rgb(44, 42, 161); /* oklch */ color: oklch(38.0% 0.184 274.0);
Tailwind
colors: {
custom: {
50: '#7865be',
500: '#2c2aa1',
950: '#000000',
},
}SCSS
$custom: #2c2aa1; $custom-light: #7865be; $custom-dark: #000000;
JSON
{
"hex": "#2c2aa1",
"rgb": {
"r": 44,
"g": 42,
"b": 161
},
"hsl": {
"h": 241.008,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.37975,
"c": 0.18393,
"h": 274
},
"luminance": 0.04765
}Semantic roles & 50–950 ramp
primary
#2C2AA1
secondary
#BEC067
accent
#E246DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81