#2C2CA4#2C2CA4
#2C2CA4 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.186 H 273.4°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2CA4 |
|---|---|
| RGB | rgb(44, 44, 164) |
| HSL | hsl(240, 58%, 41%) |
| HSV | hsv(240, 73%, 64%) |
| CMYK | cmyk(73.2%, 73.2%, 0%, 35.7%) |
| CIE-LAB | lab(26.78, 40.40, -64.06) |
| CIE-LCH | lch(26.78, 75.73, 302.24°) |
| OKLab | oklab(38.59% 0.0112 -0.1853) |
| OKLCH | oklch(38.59% 0.186 273.4) |
| XYZ | xyz(8.6380, 5.0163, 35.6278) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.75
Indigo Blue
#3A18B1
ΔE00 4.67
Royal
#0C1793
ΔE00 5.56
Cobalt Blue
#030AA7
ΔE00 6.34
True Blue
#010FCC
ΔE00 6.47
Ultramarine
#2000B1
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2CA4 #A4A42C
analogous
#2C68A4 #2C2CA4 #682CA4
triadic
#2C2CA4 #A42C2C #2CA42C
tetradic
#2C2CA4 #A42C68 #A4A42C #2CA468
square
#2C2CA4 #A42C68 #A4A42C #2CA468
split-complementary
#2C2CA4 #A4682C #68A42C
monochromatic
#121243 #1F1F74 #2C2CA4 #4141CC #7171D9
Accessibility & contrast
On white
10.48
#2C2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2C2CA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2CA4
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2CA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2CA4 | 1.00 | 10.48 | 2.00 | 10.48 |
| #FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#0039A2
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2c2ca4; /* rgb */ color: rgb(44, 44, 164); /* oklch */ color: oklch(38.6% 0.186 273.4);
Tailwind
colors: {
custom: {
50: '#7866c0',
500: '#2c2ca4',
950: '#000000',
},
}SCSS
$custom: #2c2ca4; $custom-light: #7866c0; $custom-dark: #000000;
JSON
{
"hex": "#2c2ca4",
"rgb": {
"r": 44,
"g": 44,
"b": 164
},
"hsl": {
"h": 240,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.38588,
"c": 0.18563,
"h": 273.4
},
"luminance": 0.05017
}Semantic roles & 50–950 ramp
primary
#2C2CA4
secondary
#C0C06B
accent
#E147E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81