#2C263B#2C263B

#2C263B is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.5% C 0.039 H 297.0°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#2C263B
RGBrgb(44, 38, 59)
HSLhsl(257, 22%, 19%)
HSVhsv(257, 36%, 23%)
CMYKcmyk(25.4%, 35.6%, 0%, 76.9%)
CIE-LABlab(16.69, 8.22, -12.46)
CIE-LCHlch(16.69, 14.93, 303.42°)
OKLaboklab(28.5% 0.0175 -0.0344)
OKLCHoklch(28.5% 0.039 297)
XYZxyz(2.5211, 2.2374, 4.4359)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C263B #353B26
analogous
#262B3B #2C263B #37263B
triadic
#2C263B #3B2C26 #263B2C
tetradic
#2C263B #3B262B #353B26 #263B37
square
#2C263B #3B262B #353B26 #263B37
split-complementary
#2C263B #3B3726 #2B3B26
monochromatic
#0E0C13 #100E16 #2C263B #483E60 #645685

Accessibility & contrast

On white

14.51
#2C263B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2C263B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C263B
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C263B#FFFFFF#000000##FFFFFF
##2C263B1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21293C
Deuteranopia (green-blind)
#22293A
Tritanopia (blue-blind)
#29292E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2c263b;
/* rgb */ color: rgb(44, 38, 59);
/* oklch */ color: oklch(28.5% 0.039 297.0);
Tailwind
colors: {
  custom: {
    50: '#656071',
    500: '#2c263b',
    950: '#000000',
  },
}
SCSS
$custom: #2c263b;
$custom-light: #656071;
$custom-dark: #000000;
JSON
{
  "hex": "#2c263b",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 59
  },
  "hsl": {
    "h": 257.143,
    "s": 21.649,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28498,
    "c": 0.03862,
    "h": 297
  },
  "luminance": 0.02237
}

Semantic roles & 50–950 ramp

primary
#2C263B
secondary
#656D50
accent
#BE6AA6
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050407
muted
#7A797A

Preview Lab

Preview with #2C263B

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

Preview Lab → · Contrast checker → · Palette generator →

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