#2C283A#2C283A
#2C283A is a dark, muted violet. Relative luminance 0.024; OKLCH L 28.9% C 0.033 H 294.4°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2C283A |
|---|---|
| RGB | rgb(44, 40, 58) |
| HSL | hsl(253, 18%, 19%) |
| HSV | hsv(253, 31%, 23%) |
| CMYK | cmyk(24.1%, 31%, 0%, 77.3%) |
| CIE-LAB | lab(17.27, 6.51, -10.87) |
| CIE-LCH | lch(17.27, 12.67, 300.91°) |
| OKLab | oklab(28.93% 0.0136 -0.0299) |
| OKLCH | oklch(28.93% 0.033 294.4) |
| XYZ | xyz(2.5610, 2.3585, 4.3225) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 8.19
Dark
#1B2431
ΔE00 8.38
Navy (survey)
#01153E
ΔE00 11.80
Dark Grey
#363737
ΔE00 12.01
Onyx
#353839
ΔE00 12.29
Gunmetal
#2A3439
ΔE00 12.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C283A #363A28
analogous
#282D3A #2C283A #35283A
triadic
#2C283A #3A2C28 #283A2C
tetradic
#2C283A #3A282D #363A28 #283A35
square
#2C283A #3A282D #363A28 #283A35
split-complementary
#2C283A #3A3528 #2D3A28
monochromatic
#0E0C12 #110F16 #2C283A #47415E #635A82
Accessibility & contrast
On white
14.27
#2C283A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#2C283A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C283A
14.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C283A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C283A | 1.00 | 14.27 | 1.47 | 14.27 |
| #FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242B3B
Deuteranopia (green-blind)
#242A39
Tritanopia (blue-blind)
#292B2E
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #2c283a; /* rgb */ color: rgb(44, 40, 58); /* oklch */ color: oklch(28.9% 0.033 294.4);
Tailwind
colors: {
custom: {
50: '#656170',
500: '#2c283a',
950: '#000000',
},
}SCSS
$custom: #2c283a; $custom-light: #656170; $custom-dark: #000000;
JSON
{
"hex": "#2c283a",
"rgb": {
"r": 44,
"g": 40,
"b": 58
},
"hsl": {
"h": 253.333,
"s": 18.367,
"l": 19.216
},
"oklch": {
"l": 0.28927,
"c": 0.03283,
"h": 294.4
},
"luminance": 0.02359
}Semantic roles & 50–950 ramp
primary
#2C283A
secondary
#666B53
accent
#BB6DAA
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050507
muted
#7A797A