#283F3A#283F3A

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

Color values

HEX#283F3A
RGBrgb(40, 63, 58)
HSLhsl(167, 22%, 20%)
HSVhsv(167, 37%, 25%)
CMYKcmyk(36.5%, 0%, 7.9%, 75.3%)
CIE-LABlab(24.68, -10.32, 0.20)
CIE-LCHlch(24.68, 10.32, 178.89°)
OKLaboklab(34.68% -0.0302 0.0004)
OKLCHoklch(34.68% 0.03 179.3)
XYZxyz(3.4160, 4.3114, 4.6544)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F3A #3F282D
analogous
#283F2F #283F3A #28383F
triadic
#283F3A #3A283F #3F3A28
tetradic
#283F3A #2F283F #3F282D #383F28
square
#283F3A #2F283F #3F282D #383F28
split-complementary
#283F3A #3F2838 #3F2F28
monochromatic
#0C1311 #101A18 #283F3A #40645C #588A7F

Accessibility & contrast

On white

11.28
#283F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283F3A
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F3A#FFFFFF#000000##FFFFFF
##283F3A1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3C3A
Deuteranopia (green-blind)
#39393A
Tritanopia (blue-blind)
#21403D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #283f3a;
/* rgb */ color: rgb(40, 63, 58);
/* oklch */ color: oklch(34.7% 0.030 179.3);
Tailwind
colors: {
  custom: {
    50: '#637470',
    500: '#283f3a',
    950: '#000000',
  },
}
SCSS
$custom: #283f3a;
$custom-light: #637470;
$custom-dark: #000000;
JSON
{
  "hex": "#283f3a",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 58
  },
  "hsl": {
    "h": 166.957,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.34684,
    "c": 0.03017,
    "h": 179.3
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#283F3A
secondary
#715259
accent
#697CBF
background
#F5F7F6
surface
#EAEDEC
border
#C6C8C7
text
#050807
muted
#797B7A

Preview Lab

Preview with #283F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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