#283F3B#283F3B

#283F3B is a dark, muted teal. Relative luminance 0.043; OKLCH L 34.7% C 0.030 H 182.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#283F3B
RGBrgb(40, 63, 59)
HSLhsl(170, 22%, 20%)
HSVhsv(170, 37%, 25%)
CMYKcmyk(36.5%, 0%, 6.3%, 75.3%)
CIE-LABlab(24.71, -10.05, -0.42)
CIE-LCHlch(24.71, 10.06, 182.37°)
OKLaboklab(34.72% -0.0296 -0.0013)
OKLCHoklch(34.72% 0.03 182.5)
XYZxyz(3.4417, 4.3217, 4.7896)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F3B #3F282C
analogous
#283F2F #283F3B #28373F
triadic
#283F3B #3B283F #3F3B28
tetradic
#283F3B #2F283F #3F282C #373F28
square
#283F3B #2F283F #3F282C #373F28
split-complementary
#283F3B #3F2837 #3F2F28
monochromatic
#0C1312 #101A18 #283F3B #40645E #588A81

Accessibility & contrast

On white

11.26
#283F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#283F3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F3B
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F3B#FFFFFF#000000##FFFFFF
##283F3B1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3C3B
Deuteranopia (green-blind)
#39393B
Tritanopia (blue-blind)
#21403E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #283f3b;
/* rgb */ color: rgb(40, 63, 59);
/* oklch */ color: oklch(34.7% 0.030 182.5);
Tailwind
colors: {
  custom: {
    50: '#637470',
    500: '#283f3b',
    950: '#000000',
  },
}
SCSS
$custom: #283f3b;
$custom-light: #637470;
$custom-dark: #000000;
JSON
{
  "hex": "#283f3b",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 59
  },
  "hsl": {
    "h": 169.565,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.34721,
    "c": 0.02968,
    "h": 182.5
  },
  "luminance": 0.04322
}

Semantic roles & 50–950 ramp

primary
#283F3B
secondary
#715257
accent
#6978BF
background
#F5F7F6
surface
#EAEDEC
border
#C6C8C7
text
#050807
muted
#797B7A

Preview Lab

Preview with #283F3B

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

Preview Lab → · Contrast checker → · Palette generator →

#283F3B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva