#2C263D#2C263D

#2C263D is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.6% C 0.042 H 295.6°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#2C263D
RGBrgb(44, 38, 61)
HSLhsl(256, 23%, 19%)
HSVhsv(256, 38%, 24%)
CMYKcmyk(27.9%, 37.7%, 0%, 76.1%)
CIE-LABlab(16.79, 8.81, -13.69)
CIE-LCHlch(16.79, 16.29, 302.76°)
OKLaboklab(28.61% 0.0182 -0.0379)
OKLCHoklch(28.61% 0.042 295.6)
XYZxyz(2.5739, 2.2586, 4.7143)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C263D #373D26
analogous
#262C3D #2C263D #38263D
triadic
#2C263D #3D2C26 #263D2C
tetradic
#2C263D #3D262C #373D26 #263D38
square
#2C263D #3D262C #373D26 #263D38
split-complementary
#2C263D #3D3826 #2C3D26
monochromatic
#0E0C13 #110F17 #2C263D #473D63 #625588

Accessibility & contrast

On white

14.46
#2C263D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C263D
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C263D#FFFFFF#000000##FFFFFF
##2C263D1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A3E
Deuteranopia (green-blind)
#21293C
Tritanopia (blue-blind)
#292A2E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2c263d;
/* rgb */ color: rgb(44, 38, 61);
/* oklch */ color: oklch(28.6% 0.042 295.6);
Tailwind
colors: {
  custom: {
    50: '#656072',
    500: '#2c263d',
    950: '#000000',
  },
}
SCSS
$custom: #2c263d;
$custom-light: #656072;
$custom-dark: #000000;
JSON
{
  "hex": "#2c263d",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 61
  },
  "hsl": {
    "h": 255.652,
    "s": 23.232,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2861,
    "c": 0.04207,
    "h": 295.6
  },
  "luminance": 0.02259
}

Semantic roles & 50–950 ramp

primary
#2C263D
secondary
#676F50
accent
#C068A9
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050408
muted
#7A797B

Preview Lab

Preview with #2C263D

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

Preview Lab → · Contrast checker → · Palette generator →

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