#283231#283231

#283231 is a dark, near-neutral teal. Relative luminance 0.030; OKLCH L 30.7% C 0.014 H 189.0°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#283231
RGBrgb(40, 50, 49)
HSLhsl(174, 11%, 18%)
HSVhsv(174, 20%, 20%)
CMYKcmyk(20%, 0%, 2%, 80.4%)
CIE-LABlab(19.86, -4.49, -0.78)
CIE-LCHlch(19.86, 4.56, 189.87°)
OKLaboklab(30.74% -0.0136 -0.0022)
OKLCHoklch(30.74% 0.014 189)
XYZxyz(2.5699, 2.9540, 3.3399)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283231 #322829
analogous
#28322C #283231 #282E32
triadic
#283231 #312832 #323128
tetradic
#283231 #2C2832 #322829 #2E3228
square
#283231 #2C2832 #322829 #2E3228
split-complementary
#283231 #32282E #322C28
monochromatic
#0E1111 #0E1111 #283231 #435452 #5E7674

Accessibility & contrast

On white

13.20
#283231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#283231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283231
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283231#FFFFFF#000000##FFFFFF
##2832311.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313131
Deuteranopia (green-blind)
#2F2F31
Tritanopia (blue-blind)
#253332
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #283231;
/* rgb */ color: rgb(40, 50, 49);
/* oklch */ color: oklch(30.7% 0.014 189.0);
Tailwind
colors: {
  custom: {
    50: '#626969',
    500: '#283231',
    950: '#000000',
  },
}
SCSS
$custom: #283231;
$custom-light: #626969;
$custom-dark: #000000;
JSON
{
  "hex": "#283231",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 49
  },
  "hsl": {
    "h": 174,
    "s": 11.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30744,
    "c": 0.01374,
    "h": 189
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

primary
#283231
secondary
#625455
accent
#747AB4
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A

Preview Lab

Preview with #283231

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

Preview Lab → · Contrast checker → · Palette generator →

#283231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva