#284A40#284A40

#284A40 is a dark, muted teal. Relative luminance 0.057; OKLCH L 38.0% C 0.044 H 173.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#284A40
RGBrgb(40, 74, 64)
HSLhsl(162, 30%, 22%)
HSVhsv(162, 46%, 29%)
CMYKcmyk(45.9%, 0%, 13.5%, 71%)
CIE-LABlab(28.69, -15.18, 2.11)
CIE-LCHlch(28.69, 15.33, 172.10°)
OKLaboklab(37.97% -0.0434 0.0054)
OKLCHoklch(37.97% 0.044 173)
XYZxyz(4.2489, 5.7185, 5.7294)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A40 #4A2832
analogous
#284A2F #284A40 #28434A
triadic
#284A40 #40284A #4A4028
tetradic
#284A40 #2F284A #4A2832 #434A28
square
#284A40 #2F284A #4A2832 #434A28
split-complementary
#284A40 #4A2843 #4A2F28
monochromatic
#0B1411 #13221E #284A40 #3D7262 #539985

Accessibility & contrast

On white

9.80
#284A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#284A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A40
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A40#FFFFFF#000000##FFFFFF
##284A401.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484640
Deuteranopia (green-blind)
#424241
Tritanopia (blue-blind)
#1D4B47
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #284a40;
/* rgb */ color: rgb(40, 74, 64);
/* oklch */ color: oklch(38.0% 0.044 173.0);
Tailwind
colors: {
  custom: {
    50: '#647c74',
    500: '#284a40',
    950: '#000000',
  },
}
SCSS
$custom: #284a40;
$custom-light: #647c74;
$custom-dark: #000000;
JSON
{
  "hex": "#284a40",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 64
  },
  "hsl": {
    "h": 162.353,
    "s": 29.825,
    "l": 22.353
  },
  "oklch": {
    "l": 0.37975,
    "c": 0.04371,
    "h": 173
  },
  "luminance": 0.05719
}

Semantic roles & 50–950 ramp

primary
#284A40
secondary
#7C515E
accent
#627FC6
background
#F6F7F7
surface
#EBEEED
border
#C6C9C8
text
#050908
muted
#7A7B7B

Preview Lab

Preview with #284A40

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

Preview Lab → · Contrast checker → · Palette generator →

#284A40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva