#287C8C#287C8C

#287C8C is a mid, moderate teal. Relative luminance 0.168; OKLCH L 54.4% C 0.082 H 212.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#287C8C
RGBrgb(40, 124, 140)
HSLhsl(190, 56%, 35%)
HSVhsv(190, 71%, 55%)
CMYKcmyk(71.4%, 11.4%, 0%, 45.1%)
CIE-LABlab(47.95, -19.28, -15.95)
CIE-LCHlch(47.95, 25.02, 219.60°)
OKLaboklab(54.37% -0.0685 -0.0444)
OKLCHoklch(54.37% 0.082 212.9)
XYZxyz(12.8143, 16.7584, 27.3652)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C8C #8C3828
analogous
#288C6A #287C8C #284A8C
triadic
#287C8C #8C287C #7C8C28
tetradic
#287C8C #6A288C #8C3828 #4A8C28
square
#287C8C #6A288C #8C3828 #4A8C28
split-complementary
#287C8C #8C284A #8C6A28
monochromatic
#0D282D #1A525C #287C8C #36A6BC #5EBED1

Accessibility & contrast

On white

4.83
#287C8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#287C8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C8C
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C8C#FFFFFF#000000##FFFFFF
##287C8C1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70788D
Deuteranopia (green-blind)
#626D8C
Tritanopia (blue-blind)
#008281
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #287c8c;
/* rgb */ color: rgb(40, 124, 140);
/* oklch */ color: oklch(54.4% 0.082 212.9);
Tailwind
colors: {
  custom: {
    50: '#71a2ad',
    500: '#287c8c',
    950: '#000000',
  },
}
SCSS
$custom: #287c8c;
$custom-light: #71a2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#287c8c",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 140
  },
  "hsl": {
    "h": 189.6,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54375,
    "c": 0.08162,
    "h": 212.9
  },
  "luminance": 0.1676
}

Semantic roles & 50–950 ramp

primary
#287C8C
secondary
#B6685A
accent
#6149DF
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #287C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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