#287F84#287F84

#287F84 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.8% C 0.080 H 200.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#287F84
RGBrgb(40, 127, 132)
HSLhsl(183, 53%, 34%)
HSVhsv(183, 70%, 52%)
CMYKcmyk(69.7%, 3.8%, 0%, 48.2%)
CIE-LABlab(48.63, -23.44, -10.21)
CIE-LCHlch(48.63, 25.57, 203.54°)
OKLaboklab(54.82% -0.0753 -0.0283)
OKLCHoklch(54.82% 0.08 200.6)
XYZxyz(12.6275, 17.2944, 24.4980)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F84 #842D28
analogous
#28845B #287F84 #285184
triadic
#287F84 #84287F #7F8428
tetradic
#287F84 #5B2884 #842D28 #518428
square
#287F84 #5B2884 #842D28 #518428
split-complementary
#287F84 #842851 #845B28
monochromatic
#0C2526 #1A5255 #287F84 #36ACB3 #5AC7CD

Accessibility & contrast

On white

4.71
#287F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#287F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287F84
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287F84#FFFFFF#000000##FFFFFF
##287F841.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757984
Deuteranopia (green-blind)
#686F84
Tritanopia (blue-blind)
#008480
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #287f84;
/* rgb */ color: rgb(40, 127, 132);
/* oklch */ color: oklch(54.8% 0.080 200.6);
Tailwind
colors: {
  custom: {
    50: '#70a4a7',
    500: '#287f84',
    950: '#000000',
  },
}
SCSS
$custom: #287f84;
$custom-light: #70a4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#287f84",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 132
  },
  "hsl": {
    "h": 183.261,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54824,
    "c": 0.08045,
    "h": 200.6
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

primary
#287F84
secondary
#B25B56
accent
#534BDD
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #287F84

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

Preview Lab → · Contrast checker → · Palette generator →

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