#285751#285751

#285751 is a dark, muted teal. Relative luminance 0.079; OKLCH L 42.2% C 0.053 H 184.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#285751
RGBrgb(40, 87, 81)
HSLhsl(172, 37%, 25%)
HSVhsv(172, 54%, 34%)
CMYKcmyk(54%, 0%, 6.9%, 65.9%)
CIE-LABlab(33.69, -17.71, -1.43)
CIE-LCHlch(33.69, 17.76, 184.63°)
OKLaboklab(42.19% -0.0524 -0.0041)
OKLCHoklch(42.19% 0.053 184.5)
XYZxyz(5.7678, 7.8611, 8.9964)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285751 #57282E
analogous
#285739 #285751 #284657
triadic
#285751 #512857 #575128
tetradic
#285751 #392857 #57282E #465728
square
#285751 #392857 #57282E #465728
split-complementary
#285751 #572846 #573928
monochromatic
#0A1514 #152D2A #285751 #3B8178 #4FAB9F

Accessibility & contrast

On white

8.16
#285751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#285751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285751
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285751#FFFFFF#000000##FFFFFF
##2857511.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535351
Deuteranopia (green-blind)
#4B4D52
Tritanopia (blue-blind)
#0F5955
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #285751;
/* rgb */ color: rgb(40, 87, 81);
/* oklch */ color: oklch(42.2% 0.053 184.5);
Tailwind
colors: {
  custom: {
    50: '#668681',
    500: '#285751',
    950: '#000000',
  },
}
SCSS
$custom: #285751;
$custom-light: #668681;
$custom-dark: #000000;
JSON
{
  "hex": "#285751",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 81
  },
  "hsl": {
    "h": 172.34,
    "s": 37.008,
    "l": 24.902
  },
  "oklch": {
    "l": 0.42185,
    "c": 0.05254,
    "h": 184.5
  },
  "luminance": 0.07862
}

Semantic roles & 50–950 ramp

primary
#285751
secondary
#8A5158
accent
#5B69CD
background
#F6F8F7
surface
#EBEFEE
border
#C6CAC9
text
#060B0A
muted
#7A7C7C

Preview Lab

Preview with #285751

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

Preview Lab → · Contrast checker → · Palette generator →

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