#287E7E#287E7E

#287E7E is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.3% C 0.080 H 195.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#287E7E
RGBrgb(40, 126, 126)
HSLhsl(180, 52%, 33%)
HSVhsv(180, 68%, 49%)
CMYKcmyk(68.3%, 0%, 0%, 50.6%)
CIE-LABlab(48.11, -24.79, -7.46)
CIE-LCHlch(48.11, 25.89, 196.75°)
OKLaboklab(54.33% -0.077 -0.0207)
OKLCHoklch(54.33% 0.08 195.1)
XYZxyz(12.1001, 16.8778, 22.3547)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E7E #7E2828
analogous
#287E53 #287E7E #28537E
triadic
#287E7E #7E287E #7E7E28
tetradic
#287E7E #53287E #7E2828 #537E28
square
#287E7E #53287E #7E2828 #537E28
split-complementary
#287E7E #7E2853 #7E5328
monochromatic
#0B2121 #195050 #287E7E #37ACAC #57CACA

Accessibility & contrast

On white

4.80
#287E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#287E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287E7E
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287E7E#FFFFFF#000000##FFFFFF
##287E7E1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76787E
Deuteranopia (green-blind)
#686E7F
Tritanopia (blue-blind)
#00827E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #287e7e;
/* rgb */ color: rgb(40, 126, 126);
/* oklch */ color: oklch(54.3% 0.080 195.1);
Tailwind
colors: {
  custom: {
    50: '#6fa4a3',
    500: '#287e7e',
    950: '#000000',
  },
}
SCSS
$custom: #287e7e;
$custom-light: #6fa4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#287e7e",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 126
  },
  "hsl": {
    "h": 180,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54334,
    "c": 0.07972,
    "h": 195.1
  },
  "luminance": 0.16879
}

Semantic roles & 50–950 ramp

primary
#287E7E
secondary
#AF5353
accent
#4D4DDB
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #287E7E

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

Preview Lab → · Contrast checker → · Palette generator →

#287E7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva