#285F5D#285F5D

#285F5D is a dark, muted teal. Relative luminance 0.094; OKLCH L 44.8% C 0.058 H 192.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#285F5D
RGBrgb(40, 95, 93)
HSLhsl(178, 41%, 26%)
HSVhsv(178, 58%, 37%)
CMYKcmyk(57.9%, 0%, 2.1%, 62.7%)
CIE-LABlab(36.79, -18.54, -4.36)
CIE-LCHlch(36.79, 19.04, 193.22°)
OKLaboklab(44.82% -0.0566 -0.0121)
OKLCHoklch(44.82% 0.058 192.1)
XYZxyz(6.9422, 9.4252, 11.8072)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F5D #5F282A
analogous
#285F42 #285F5D #28465F
triadic
#285F5D #5D285F #5F5D28
tetradic
#285F5D #42285F #5F282A #465F28
square
#285F5D #42285F #5F282A #465F28
split-complementary
#285F5D #5F2846 #5F4228
monochromatic
#091615 #163433 #285F5D #3A8A87 #4DB4B0

Accessibility & contrast

On white

7.28
#285F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#285F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285F5D
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F5D#FFFFFF#000000##FFFFFF
##285F5D1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5A5D
Deuteranopia (green-blind)
#51545E
Tritanopia (blue-blind)
#00625E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #285f5d;
/* rgb */ color: rgb(40, 95, 93);
/* oklch */ color: oklch(44.8% 0.058 192.1);
Tailwind
colors: {
  custom: {
    50: '#688c8a',
    500: '#285f5d',
    950: '#000000',
  },
}
SCSS
$custom: #285f5d;
$custom-light: #688c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#285f5d",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 93
  },
  "hsl": {
    "h": 177.818,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.44817,
    "c": 0.0579,
    "h": 192.1
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#285F5D
secondary
#925153
accent
#575CD1
background
#F6F8F8
surface
#EBF0F0
border
#C6CBCB
text
#060C0B
muted
#7A7D7C

Preview Lab

Preview with #285F5D

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

Preview Lab → · Contrast checker → · Palette generator →

#285F5D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva