#2C283E#2C283E

#2C283E is a dark, muted violet. Relative luminance 0.024; OKLCH L 29.1% C 0.040 H 292.1°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#2C283E
RGBrgb(44, 40, 62)
HSLhsl(251, 22%, 20%)
HSVhsv(251, 35%, 24%)
CMYKcmyk(29%, 35.5%, 0%, 75.7%)
CIE-LABlab(17.46, 7.69, -13.34)
CIE-LCHlch(17.46, 15.40, 299.97°)
OKLaboklab(29.15% 0.015 -0.0369)
OKLCHoklch(29.15% 0.04 292.1)
XYZxyz(2.6668, 2.4008, 4.8794)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C283E #3A3E28
analogous
#282F3E #2C283E #37283E
triadic
#2C283E #3E2C28 #283E2C
tetradic
#2C283E #3E282F #3A3E28 #283E37
square
#2C283E #3E282F #3A3E28 #283E37
split-complementary
#2C283E #3E3728 #2F3E28
monochromatic
#0D0C13 #121019 #2C283E #464063 #615888

Accessibility & contrast

On white

14.19
#2C283E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2C283E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C283E
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C283E#FFFFFF#000000##FFFFFF
##2C283E1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222B3F
Deuteranopia (green-blind)
#232A3D
Tritanopia (blue-blind)
#282C30
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2c283e;
/* rgb */ color: rgb(44, 40, 62);
/* oklch */ color: oklch(29.1% 0.040 292.1);
Tailwind
colors: {
  custom: {
    50: '#656173',
    500: '#2c283e',
    950: '#000000',
  },
}
SCSS
$custom: #2c283e;
$custom-light: #656173;
$custom-dark: #000000;
JSON
{
  "hex": "#2c283e",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 62
  },
  "hsl": {
    "h": 250.909,
    "s": 21.569,
    "l": 20
  },
  "oklch": {
    "l": 0.29145,
    "c": 0.03986,
    "h": 292.1
  },
  "luminance": 0.02401
}

Semantic roles & 50–950 ramp

primary
#2C283E
secondary
#6A7052
accent
#BE6AAF
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050508
muted
#7A797B

Preview Lab

Preview with #2C283E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2C283E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva