#287057#287057

#287057 is a mid, moderate teal. Relative luminance 0.127; OKLCH L 49.3% C 0.082 H 166.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#287057
RGBrgb(40, 112, 87)
HSLhsl(159, 47%, 30%)
HSVhsv(159, 64%, 44%)
CMYKcmyk(64.3%, 0%, 22.3%, 56.1%)
CIE-LABlab(42.35, -28.89, 7.37)
CIE-LCHlch(42.35, 29.81, 165.69°)
OKLaboklab(49.28% -0.0803 0.0189)
OKLCHoklch(49.28% 0.082 166.8)
XYZxyz(8.3887, 12.7267, 11.0294)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287057 #702841
analogous
#287033 #287057 #286570
triadic
#287057 #572870 #705728
tetradic
#287057 #332870 #702841 #657028
square
#287057 #332870 #702841 #657028
split-complementary
#287057 #702865 #703328
monochromatic
#081712 #184334 #287057 #389D7A #51C19A

Accessibility & contrast

On white

5.92
#287057 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#287057 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287057
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287057#FFFFFF#000000##FFFFFF
##2870571.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6856
Deuteranopia (green-blind)
#636159
Tritanopia (blue-blind)
#007069
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #287057;
/* rgb */ color: rgb(40, 112, 87);
/* oklch */ color: oklch(49.3% 0.082 166.8);
Tailwind
colors: {
  custom: {
    50: '#6a9986',
    500: '#287057',
    950: '#000000',
  },
}
SCSS
$custom: #287057;
$custom-light: #6a9986;
$custom-dark: #000000;
JSON
{
  "hex": "#287057",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 87
  },
  "hsl": {
    "h": 159.167,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49276,
    "c": 0.08249,
    "h": 166.8
  },
  "luminance": 0.12728
}

Semantic roles & 50–950 ramp

primary
#287057
secondary
#A2516E
accent
#517FD7
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #287057

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

Preview Lab → · Contrast checker → · Palette generator →

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