#283F3C#283F3C

#283F3C is a dark, muted teal. Relative luminance 0.043; OKLCH L 34.8% C 0.029 H 185.7°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#283F3C
RGBrgb(40, 63, 60)
HSLhsl(172, 22%, 20%)
HSVhsv(172, 37%, 25%)
CMYKcmyk(36.5%, 0%, 4.8%, 75.3%)
CIE-LABlab(24.74, -9.77, -1.03)
CIE-LCHlch(24.74, 9.82, 186.02°)
OKLaboklab(34.76% -0.0291 -0.0029)
OKLCHoklch(34.76% 0.029 185.7)
XYZxyz(3.4679, 4.3322, 4.9276)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F3C #3F282B
analogous
#283F30 #283F3C #28363F
triadic
#283F3C #3C283F #3F3C28
tetradic
#283F3C #30283F #3F282B #363F28
square
#283F3C #30283F #3F282B #363F28
split-complementary
#283F3C #3F2836 #3F3028
monochromatic
#0C1312 #101A18 #283F3C #406460 #588A83

Accessibility & contrast

On white

11.25
#283F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#283F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F3C
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F3C#FFFFFF#000000##FFFFFF
##283F3C1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3D3C
Deuteranopia (green-blind)
#39393C
Tritanopia (blue-blind)
#20403E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #283f3c;
/* rgb */ color: rgb(40, 63, 60);
/* oklch */ color: oklch(34.8% 0.029 185.7);
Tailwind
colors: {
  custom: {
    50: '#637471',
    500: '#283f3c',
    950: '#000000',
  },
}
SCSS
$custom: #283f3c;
$custom-light: #637471;
$custom-dark: #000000;
JSON
{
  "hex": "#283f3c",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 60
  },
  "hsl": {
    "h": 172.174,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.34758,
    "c": 0.02929,
    "h": 185.7
  },
  "luminance": 0.04332
}

Semantic roles & 50–950 ramp

primary
#283F3C
secondary
#715256
accent
#6974BF
background
#F5F7F6
surface
#EAEDEC
border
#C6C8C7
text
#050807
muted
#797B7A

Preview Lab

Preview with #283F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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