#283131#283131

#283131 is a dark, near-neutral teal. Relative luminance 0.029; OKLCH L 30.5% C 0.012 H 196.5°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#283131
RGBrgb(40, 49, 49)
HSLhsl(180, 10%, 17%)
HSVhsv(180, 18%, 19%)
CMYKcmyk(18.4%, 0%, 0%, 80.8%)
CIE-LABlab(19.51, -3.83, -1.29)
CIE-LCHlch(19.51, 4.04, 198.60°)
OKLaboklab(30.47% -0.0118 -0.0035)
OKLCHoklch(30.47% 0.012 196.5)
XYZxyz(2.5276, 2.8694, 3.3258)
Luminance0.0287 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283131 #312828
analogous
#28312D #283131 #282D31
triadic
#283131 #312831 #313128
tetradic
#283131 #2D2831 #312828 #2D3128
square
#283131 #2D2831 #312828 #2D3128
split-complementary
#283131 #31282D #312D28
monochromatic
#0E1111 #0E1111 #283131 #445353 #5F7474

Accessibility & contrast

On white

13.34
#283131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#283131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283131
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283131#FFFFFF#000000##FFFFFF
##2831311.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303031
Deuteranopia (green-blind)
#2E2F31
Tritanopia (blue-blind)
#253231
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #283131;
/* rgb */ color: rgb(40, 49, 49);
/* oklch */ color: oklch(30.5% 0.012 196.5);
Tailwind
colors: {
  custom: {
    50: '#626969',
    500: '#283131',
    950: '#000000',
  },
}
SCSS
$custom: #283131;
$custom-light: #626969;
$custom-dark: #000000;
JSON
{
  "hex": "#283131",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 49
  },
  "hsl": {
    "h": 180,
    "s": 10.112,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3047,
    "c": 0.01234,
    "h": 196.5
  },
  "luminance": 0.02869
}

Semantic roles & 50–950 ramp

primary
#283131
secondary
#615454
accent
#7575B3
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A

Preview Lab

Preview with #283131

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

Preview Lab → · Contrast checker → · Palette generator →

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