#285F54#285F54

#285F54 is a dark, moderate teal. Relative luminance 0.093; OKLCH L 44.5% C 0.061 H 178.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#285F54
RGBrgb(40, 95, 84)
HSLhsl(168, 41%, 26%)
HSVhsv(168, 58%, 37%)
CMYKcmyk(57.9%, 0%, 11.6%, 62.7%)
CIE-LABlab(36.51, -21.16, 0.81)
CIE-LCHlch(36.51, 21.18, 177.81°)
OKLaboklab(44.5% -0.0611 0.0018)
OKLCHoklch(44.5% 0.061 178.3)
XYZxyz(6.5668, 9.2750, 9.8300)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F54 #5F2833
analogous
#285F39 #285F54 #284F5F
triadic
#285F54 #54285F #5F5428
tetradic
#285F54 #39285F #5F2833 #4F5F28
square
#285F54 #39285F #5F2833 #4F5F28
split-complementary
#285F54 #5F284F #5F3928
monochromatic
#091613 #16342E #285F54 #3A8A7A #4DB4A0

Accessibility & contrast

On white

7.36
#285F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#285F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285F54
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F54#FFFFFF#000000##FFFFFF
##285F541.007.362.867.36
#FFFFFF7.361.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5A54
Deuteranopia (green-blind)
#535355
Tritanopia (blue-blind)
#07605C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #285f54;
/* rgb */ color: rgb(40, 95, 84);
/* oklch */ color: oklch(44.5% 0.061 178.3);
Tailwind
colors: {
  custom: {
    50: '#688c84',
    500: '#285f54',
    950: '#000000',
  },
}
SCSS
$custom: #285f54;
$custom-light: #688c84;
$custom-dark: #000000;
JSON
{
  "hex": "#285f54",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 84
  },
  "hsl": {
    "h": 168,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.44496,
    "c": 0.06116,
    "h": 178.3
  },
  "luminance": 0.09276
}

Semantic roles & 50–950 ramp

primary
#285F54
secondary
#92515E
accent
#576FD1
background
#F6F8F8
surface
#EBF0EF
border
#C6CBCA
text
#060C0A
muted
#7A7D7C

Preview Lab

Preview with #285F54

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

Preview Lab → · Contrast checker → · Palette generator →

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