#2C283F#2C283F
#2C283F is a dark, muted violet. Relative luminance 0.024; OKLCH L 29.2% C 0.042 H 291.6°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2C283F |
|---|---|
| RGB | rgb(44, 40, 63) |
| HSL | hsl(250, 22%, 20%) |
| HSV | hsv(250, 37%, 25%) |
| CMYK | cmyk(30.2%, 36.5%, 0%, 75.3%) |
| CIE-LAB | lab(17.52, 8.00, -13.95) |
| CIE-LCH | lch(17.52, 16.08, 299.81°) |
| OKLab | oklab(29.2% 0.0153 -0.0387) |
| OKLCH | oklch(29.2% 0.042 291.6) |
| XYZ | xyz(2.6945, 2.4119, 5.0252) |
| Luminance | 0.0241 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 7.22
Dark
#1B2431
ΔE00 9.56
Navy (survey)
#01153E
ΔE00 10.39
Midnight
#03012D
ΔE00 11.72
Dark Navy Blue
#00022E
ΔE00 11.90
Navy Blue (survey)
#001146
ΔE00 12.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C283F #3B3F28
analogous
#282F3F #2C283F #37283F
triadic
#2C283F #3F2C28 #283F2C
tetradic
#2C283F #3F282F #3B3F28 #283F37
square
#2C283F #3F282F #3B3F28 #283F37
split-complementary
#2C283F #3F3728 #2F3F28
monochromatic
#0D0C13 #12101A #2C283F #464064 #60588A
Accessibility & contrast
On white
14.17
#2C283F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#2C283F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C283F
14.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C283F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C283F | 1.00 | 14.17 | 1.48 | 14.17 |
| #FFFFFF | 14.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#222B40
Deuteranopia (green-blind)
#222B3E
Tritanopia (blue-blind)
#282C30
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #2c283f; /* rgb */ color: rgb(44, 40, 63); /* oklch */ color: oklch(29.2% 0.042 291.6);
Tailwind
colors: {
custom: {
50: '#656174',
500: '#2c283f',
950: '#000000',
},
}SCSS
$custom: #2c283f; $custom-light: #656174; $custom-dark: #000000;
JSON
{
"hex": "#2c283f",
"rgb": {
"r": 44,
"g": 40,
"b": 63
},
"hsl": {
"h": 250.435,
"s": 22.33,
"l": 20.196
},
"oklch": {
"l": 0.29201,
"c": 0.04161,
"h": 291.6
},
"luminance": 0.02412
}Semantic roles & 50–950 ramp
primary
#2C283F
secondary
#6B7152
accent
#BF69B0
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060508
muted
#7A797B