#2C2C96#2C2C96
#2C2C96 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.168 H 274.6°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2C96 |
|---|---|
| RGB | rgb(44, 44, 150) |
| HSL | hsl(240, 55%, 38%) |
| HSV | hsv(240, 71%, 59%) |
| CMYK | cmyk(70.7%, 70.7%, 0%, 41.2%) |
| CIE-LAB | lab(25.38, 35.57, -57.83) |
| CIE-LCH | lch(25.38, 67.89, 301.59°) |
| OKLab | oklab(37.16% 0.0133 -0.1671) |
| OKLCH | oklch(37.16% 0.168 274.6) |
| XYZ | xyz(7.4426, 4.5381, 29.3320) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.52
Royal
#0C1793
ΔE00 5.16
Indigo Blue
#3A18B1
ΔE00 5.97
Blueberry
#464196
ΔE00 6.52
Darkslateblue
#483D8B
ΔE00 6.55
Cobalt Blue
#030AA7
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2C96 #96962C
analogous
#2C6196 #2C2C96 #612C96
triadic
#2C2C96 #962C2C #2C962C
tetradic
#2C2C96 #962C61 #96962C #2C9661
square
#2C2C96 #962C61 #96962C #2C9661
split-complementary
#2C2C96 #96612C #61962C
monochromatic
#101037 #1E1E67 #2C2C96 #3A3AC5 #6969D3
Accessibility & contrast
On white
11.01
#2C2C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2C2C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2C96
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2C96 | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2c2c96; /* rgb */ color: rgb(44, 44, 150); /* oklch */ color: oklch(37.2% 0.168 274.6);
Tailwind
colors: {
custom: {
50: '#7566b6',
500: '#2c2c96',
950: '#000000',
},
}SCSS
$custom: #2c2c96; $custom-light: #7566b6; $custom-dark: #000000;
JSON
{
"hex": "#2c2c96",
"rgb": {
"r": 44,
"g": 44,
"b": 150
},
"hsl": {
"h": 240,
"s": 54.639,
"l": 38.039
},
"oklch": {
"l": 0.37158,
"c": 0.16765,
"h": 274.6
},
"luminance": 0.04539
}Semantic roles & 50–950 ramp
primary
#2C2C96
secondary
#BABA64
accent
#DE4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80