#2D263B#2D263B

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

Color values

HEX#2D263B
RGBrgb(45, 38, 59)
HSLhsl(260, 22%, 19%)
HSVhsv(260, 36%, 23%)
CMYKcmyk(23.7%, 35.6%, 0%, 76.9%)
CIE-LABlab(16.80, 8.60, -12.28)
CIE-LCHlch(16.80, 15.00, 305.01°)
OKLaboklab(28.61% 0.019 -0.0339)
OKLCHoklch(28.61% 0.039 299.2)
XYZxyz(2.5645, 2.2599, 4.4379)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D263B #343B26
analogous
#262A3B #2D263B #38263B
triadic
#2D263B #3B2D26 #263B2D
tetradic
#2D263B #3B262A #343B26 #263B38
square
#2D263B #3B262A #343B26 #263B38
split-complementary
#2D263B #3B3826 #2A3B26
monochromatic
#0E0C13 #110E16 #2D263B #493E60 #665685

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D263B#FFFFFF#000000##FFFFFF
##2D263B1.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)
#21293C
Deuteranopia (green-blind)
#22293A
Tritanopia (blue-blind)
#2A292E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2d263b;
/* rgb */ color: rgb(45, 38, 59);
/* oklch */ color: oklch(28.6% 0.039 299.2);
Tailwind
colors: {
  custom: {
    50: '#666071',
    500: '#2d263b',
    950: '#000000',
  },
}
SCSS
$custom: #2d263b;
$custom-light: #666071;
$custom-dark: #000000;
JSON
{
  "hex": "#2d263b",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 59
  },
  "hsl": {
    "h": 260,
    "s": 21.649,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28607,
    "c": 0.03883,
    "h": 299.2
  },
  "luminance": 0.0226
}

Semantic roles & 50–950 ramp

primary
#2D263B
secondary
#636D50
accent
#BE6AA2
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2D263B

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

Preview Lab → · Contrast checker → · Palette generator →

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