#2C2C8E#2C2C8E
#2C2C8E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.157 H 275.3°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2C8E |
|---|---|
| RGB | rgb(44, 44, 142) |
| HSL | hsl(240, 53%, 36%) |
| HSV | hsv(240, 69%, 56%) |
| CMYK | cmyk(69%, 69%, 0%, 44.3%) |
| CIE-LAB | lab(24.61, 32.75, -54.16) |
| CIE-LCH | lch(24.61, 63.29, 301.16°) |
| OKLab | oklab(36.37% 0.0144 -0.1564) |
| OKLCH | oklch(36.37% 0.157 275.3) |
| XYZ | xyz(6.8203, 4.2892, 26.0544) |
| Luminance | 0.0429 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.28
Royal
#0C1793
ΔE00 5.37
Darkslateblue
#483D8B
ΔE00 6.20
Midnight Blue
#191970
ΔE00 6.34
Blueberry
#464196
ΔE00 6.49
Indigo Blue
#3A18B1
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2C8E #8E8E2C
analogous
#2C5D8E #2C2C8E #5D2C8E
triadic
#2C2C8E #8E2C2C #2C8E2C
tetradic
#2C2C8E #8E2C5D #8E8E2C #2C8E5D
square
#2C2C8E #8E2C5D #8E8E2C #2C8E5D
split-complementary
#2C2C8E #8E5D2C #5D8E2C
monochromatic
#0F0F31 #1E1E5F #2C2C8E #3A3ABD #6565CF
Accessibility & contrast
On white
11.30
#2C2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2C2C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2C8E
11.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2C8E | 1.00 | 11.30 | 1.86 | 11.30 |
| #FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c2c8e; /* rgb */ color: rgb(44, 44, 142); /* oklch */ color: oklch(36.4% 0.157 275.3);
Tailwind
colors: {
custom: {
50: '#7366b0',
500: '#2c2c8e',
950: '#000000',
},
}SCSS
$custom: #2c2c8e; $custom-light: #7366b0; $custom-dark: #000000;
JSON
{
"hex": "#2c2c8e",
"rgb": {
"r": 44,
"g": 44,
"b": 142
},
"hsl": {
"h": 240,
"s": 52.688,
"l": 36.471
},
"oklch": {
"l": 0.36366,
"c": 0.15704,
"h": 275.3
},
"luminance": 0.0429
}Semantic roles & 50–950 ramp
primary
#2C2C8E
secondary
#B6B660
accent
#DC4CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80