#284240#284240

#284240 is a dark, muted teal. Relative luminance 0.047; OKLCH L 35.7% C 0.032 H 189.7°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#284240
RGBrgb(40, 66, 64)
HSLhsl(175, 25%, 21%)
HSVhsv(175, 39%, 26%)
CMYKcmyk(39.4%, 0%, 3%, 74.1%)
CIE-LABlab(25.91, -10.47, -1.94)
CIE-LCHlch(25.91, 10.65, 190.52°)
OKLaboklab(35.74% -0.0317 -0.0054)
OKLCHoklch(35.74% 0.032 189.7)
XYZxyz(3.7484, 4.7175, 5.5625)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284240 #42282A
analogous
#284233 #284240 #283742
triadic
#284240 #402842 #424028
tetradic
#284240 #332842 #42282A #374228
square
#284240 #332842 #42282A #374228
split-complementary
#284240 #422837 #423328
monochromatic
#0C1312 #111C1B #284240 #3F6865 #568E8A

Accessibility & contrast

On white

10.80
#284240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#284240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284240
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284240#FFFFFF#000000##FFFFFF
##2842401.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3F40
Deuteranopia (green-blind)
#3A3C40
Tritanopia (blue-blind)
#1E4341
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #284240;
/* rgb */ color: rgb(40, 66, 64);
/* oklch */ color: oklch(35.7% 0.032 189.7);
Tailwind
colors: {
  custom: {
    50: '#637674',
    500: '#284240',
    950: '#000000',
  },
}
SCSS
$custom: #284240;
$custom-light: #637674;
$custom-dark: #000000;
JSON
{
  "hex": "#284240",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 64
  },
  "hsl": {
    "h": 175.385,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35742,
    "c": 0.03212,
    "h": 189.7
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

primary
#284240
secondary
#745255
accent
#676EC1
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#050808
muted
#7A7B7B

Preview Lab

Preview with #284240

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

Preview Lab → · Contrast checker → · Palette generator →

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