#2C2CA2#2C2CA2
#2C2CA2 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.183 H 273.6°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2CA2 |
|---|---|
| RGB | rgb(44, 44, 162) |
| HSL | hsl(240, 57%, 40%) |
| HSV | hsv(240, 73%, 64%) |
| CMYK | cmyk(72.8%, 72.8%, 0%, 36.5%) |
| CIE-LAB | lab(26.58, 39.72, -63.18) |
| CIE-LCH | lch(26.58, 74.63, 302.15°) |
| OKLab | oklab(38.38% 0.0115 -0.1827) |
| OKLCH | oklch(38.38% 0.183 273.6) |
| XYZ | xyz(8.4588, 4.9446, 34.6840) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.81
Indigo Blue
#3A18B1
ΔE00 4.81
Royal
#0C1793
ΔE00 5.46
Cobalt Blue
#030AA7
ΔE00 6.37
True Blue
#010FCC
ΔE00 6.69
Ultramarine
#2000B1
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2CA2 #A2A22C
analogous
#2C67A2 #2C2CA2 #672CA2
triadic
#2C2CA2 #A22C2C #2CA22C
tetradic
#2C2CA2 #A22C67 #A2A22C #2CA267
square
#2C2CA2 #A22C67 #A2A22C #2CA267
split-complementary
#2C2CA2 #A2672C #67A22C
monochromatic
#121242 #1F1F72 #2C2CA2 #4040CB #7070D8
Accessibility & contrast
On white
10.56
#2C2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2C2CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2CA2
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2CA2 | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A5
Deuteranopia (green-blind)
#0039A0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2c2ca2; /* rgb */ color: rgb(44, 44, 162); /* oklch */ color: oklch(38.4% 0.183 273.6);
Tailwind
colors: {
custom: {
50: '#7866bf',
500: '#2c2ca2',
950: '#000000',
},
}SCSS
$custom: #2c2ca2; $custom-light: #7866bf; $custom-dark: #000000;
JSON
{
"hex": "#2c2ca2",
"rgb": {
"r": 44,
"g": 44,
"b": 162
},
"hsl": {
"h": 240,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.38381,
"c": 0.1831,
"h": 273.6
},
"luminance": 0.04945
}Semantic roles & 50–950 ramp
primary
#2C2CA2
secondary
#BFBF6A
accent
#E147E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81