#231E22#231E22

#231E22 is a very dark, near-neutral grey. Relative luminance 0.014; OKLCH L 24.2% C 0.011 H 332.6°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#231E22
RGBrgb(35, 30, 34)
HSLhsl(312, 8%, 13%)
HSVhsv(312, 14%, 14%)
CMYKcmyk(0%, 14.3%, 2.9%, 86.3%)
CIE-LABlab(11.97, 3.35, -1.84)
CIE-LCHlch(11.97, 3.82, 331.20°)
OKLaboklab(24.24% 0.0094 -0.0049)
OKLCHoklch(24.24% 0.011 332.6)
XYZxyz(1.4461, 1.4014, 1.7074)
Luminance0.0140 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E22 #1E231F
analogous
#211E23 #231E22 #231E1F
triadic
#231E22 #22231E #1E2223
tetradic
#231E22 #23211E #1E231F #1E1F23
square
#231E22 #23211E #1E231F #1E1F23
split-complementary
#231E22 #1F231E #1E2321
monochromatic
#100E10 #100E10 #231E22 #443A42 #655662

Accessibility & contrast

On white

16.40
#231E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#231E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E22
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E22#FFFFFF#000000##FFFFFF
##231E221.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1F22
Deuteranopia (green-blind)
#1F2022
Tritanopia (blue-blind)
#241E1F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #231e22;
/* rgb */ color: rgb(35, 30, 34);
/* oklch */ color: oklch(24.2% 0.011 332.6);
Tailwind
colors: {
  custom: {
    50: '#5d595c',
    500: '#231e22',
    950: '#000000',
  },
}
SCSS
$custom: #231e22;
$custom-light: #5d595c;
$custom-dark: #000000;
JSON
{
  "hex": "#231e22",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 34
  },
  "hsl": {
    "h": 312,
    "s": 7.692,
    "l": 12.745
  },
  "oklch": {
    "l": 0.24237,
    "c": 0.0106,
    "h": 332.6
  },
  "luminance": 0.01401
}

Semantic roles & 50–950 ramp

primary
#231E22
secondary
#4A534C
accent
#B18377
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040304
muted
#797879

Preview Lab

Preview with #231E22

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

Preview Lab → · Contrast checker → · Palette generator →

#231E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva