#2C2C76#2C2C76
#2C2C76 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.123 H 277.6°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2C76 |
|---|---|
| RGB | rgb(44, 44, 118) |
| HSL | hsl(240, 46%, 32%) |
| HSV | hsv(240, 63%, 46%) |
| CMYK | cmyk(62.7%, 62.7%, 0%, 53.7%) |
| CIE-LAB | lab(22.46, 24.14, -42.56) |
| CIE-LCH | lch(22.46, 48.93, 299.56°) |
| OKLab | oklab(34.14% 0.0164 -0.1224) |
| OKLCH | oklch(34.14% 0.123 277.6) |
| XYZ | xyz(5.2084, 3.6445, 17.5650) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.39
Darkslateblue
#483D8B
ΔE00 6.37
Blueberry
#464196
ΔE00 7.60
Marine
#042E60
ΔE00 7.71
Royal
#0C1793
ΔE00 7.80
Sapphire (survey)
#2138AB
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2C76 #76762C
analogous
#2C5176 #2C2C76 #512C76
triadic
#2C2C76 #762C2C #2C762C
tetradic
#2C2C76 #762C51 #76762C #2C7651
square
#2C2C76 #762C51 #76762C #2C7651
split-complementary
#2C2C76 #76512C #51762C
monochromatic
#0B0B1D #1B1B49 #2C2C76 #3D3DA3 #5B5BC2
Accessibility & contrast
On white
12.15
#2C2C76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2C2C76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2C76
12.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2C76 | 1.00 | 12.15 | 1.73 | 12.15 |
| #FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2c2c76; /* rgb */ color: rgb(44, 44, 118); /* oklch */ color: oklch(34.1% 0.123 277.6);
Tailwind
colors: {
custom: {
50: '#6e659e',
500: '#2c2c76',
950: '#000000',
},
}SCSS
$custom: #2c2c76; $custom-light: #6e659e; $custom-dark: #000000;
JSON
{
"hex": "#2c2c76",
"rgb": {
"r": 44,
"g": 44,
"b": 118
},
"hsl": {
"h": 240,
"s": 45.679,
"l": 31.765
},
"oklch": {
"l": 0.34135,
"c": 0.12346,
"h": 277.6
},
"luminance": 0.03645
}Semantic roles & 50–950 ramp
primary
#2C2C76
secondary
#A7A756
accent
#D552D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E