#2C2AA0#2C2AA0
#2C2AA0 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.183 H 274.1°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2AA0 |
|---|---|
| RGB | rgb(44, 42, 160) |
| HSL | hsl(241, 58%, 40%) |
| HSV | hsv(241, 74%, 63%) |
| CMYK | cmyk(72.5%, 73.8%, 0%, 37.3%) |
| CIE-LAB | lab(25.95, 40.21, -63.00) |
| CIE-LCH | lch(25.95, 74.74, 302.55°) |
| OKLab | oklab(37.87% 0.0129 -0.1822) |
| OKLCH | oklch(37.87% 0.183 274.1) |
| XYZ | xyz(8.2097, 4.7287, 33.7310) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.35
Indigo Blue
#3A18B1
ΔE00 4.56
Royal
#0C1793
ΔE00 4.95
Cobalt Blue
#030AA7
ΔE00 5.93
Royal Blue (survey)
#0504AA
ΔE00 6.41
Ultramarine
#2000B1
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2AA0 #9EA02A
analogous
#2A63A0 #2C2AA0 #672AA0
triadic
#2C2AA0 #A02C2A #2AA02C
tetradic
#2C2AA0 #A02A63 #9EA02A #2AA067
square
#2C2AA0 #A02A63 #9EA02A #2AA067
split-complementary
#2C2AA0 #A0672A #63A02A
monochromatic
#11113F #1F1D70 #2C2AA0 #3E3CCC #6E6CD8
Accessibility & contrast
On white
10.79
#2C2AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2C2AA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2AA0
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2AA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2AA0 | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c2aa0; /* rgb */ color: rgb(44, 42, 160); /* oklch */ color: oklch(37.9% 0.183 274.1);
Tailwind
colors: {
custom: {
50: '#7765bd',
500: '#2c2aa0',
950: '#000000',
},
}SCSS
$custom: #2c2aa0; $custom-light: #7765bd; $custom-dark: #000000;
JSON
{
"hex": "#2c2aa0",
"rgb": {
"r": 44,
"g": 42,
"b": 160
},
"hsl": {
"h": 241.017,
"s": 58.416,
"l": 39.608
},
"oklch": {
"l": 0.3787,
"c": 0.18268,
"h": 274.1
},
"luminance": 0.04729
}Semantic roles & 50–950 ramp
primary
#2C2AA0
secondary
#BEBF67
accent
#E246DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81