#2C2C6E#2C2C6E
#2C2C6E is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.112 H 278.5°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2C6E |
|---|---|
| RGB | rgb(44, 44, 110) |
| HSL | hsl(240, 43%, 30%) |
| HSV | hsv(240, 60%, 43%) |
| CMYK | cmyk(60%, 60%, 0%, 56.9%) |
| CIE-LAB | lab(21.81, 21.25, -38.49) |
| CIE-LCH | lch(21.81, 43.96, 298.90°) |
| OKLab | oklab(33.45% 0.0165 -0.1104) |
| OKLCH | oklch(33.45% 0.112 278.5) |
| XYZ | xyz(4.7530, 3.4623, 15.1667) |
| Luminance | 0.0346 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.91
Darkslateblue
#483D8B
ΔE00 6.98
Marine
#042E60
ΔE00 7.21
Navy Blue
#1B2A4A
ΔE00 8.05
Blueberry
#464196
ΔE00 8.42
Royal
#0C1793
ΔE00 9.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2C6E #6E6E2C
analogous
#2C4D6E #2C2C6E #4D2C6E
triadic
#2C2C6E #6E2C2C #2C6E2C
tetradic
#2C2C6E #6E2C4D #6E6E2C #2C6E4D
square
#2C2C6E #6E2C4D #6E6E2C #2C6E4D
split-complementary
#2C2C6E #6E4D2C #4D6E2C
monochromatic
#090917 #1B1B42 #2C2C6E #3D3D9A #5858BC
Accessibility & contrast
On white
12.41
#2C2C6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2C2C6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2C6E
12.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2C6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2C6E | 1.00 | 12.41 | 1.69 | 12.41 |
| #FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#063C48
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2c2c6e; /* rgb */ color: rgb(44, 44, 110); /* oklch */ color: oklch(33.4% 0.112 278.5);
Tailwind
colors: {
custom: {
50: '#6c6598',
500: '#2c2c6e',
950: '#000000',
},
}SCSS
$custom: #2c2c6e; $custom-light: #6c6598; $custom-dark: #000000;
JSON
{
"hex": "#2c2c6e",
"rgb": {
"r": 44,
"g": 44,
"b": 110
},
"hsl": {
"h": 240,
"s": 42.857,
"l": 30.196
},
"oklch": {
"l": 0.33447,
"c": 0.11162,
"h": 278.5
},
"luminance": 0.03463
}Semantic roles & 50–950 ramp
primary
#2C2C6E
secondary
#A0A056
accent
#D355D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E