#287C8A#287C8A

#287C8A is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.3% C 0.081 H 210.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#287C8A
RGBrgb(40, 124, 138)
HSLhsl(189, 55%, 35%)
HSVhsv(189, 71%, 54%)
CMYKcmyk(71%, 10.1%, 0%, 45.9%)
CIE-LABlab(47.88, -19.94, -14.88)
CIE-LCHlch(47.88, 24.88, 216.74°)
OKLaboklab(54.29% -0.0694 -0.0414)
OKLCHoklch(54.29% 0.081 210.8)
XYZxyz(12.6682, 16.7000, 26.5956)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C8A #8A3628
analogous
#288A67 #287C8A #284B8A
triadic
#287C8A #8A287C #7C8A28
tetradic
#287C8A #67288A #8A3628 #4B8A28
square
#287C8A #67288A #8A3628 #4B8A28
split-complementary
#287C8A #8A284B #8A6728
monochromatic
#0C272B #1A515B #287C8A #36A7B9 #5DBFD0

Accessibility & contrast

On white

4.84
#287C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#287C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C8A
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C8A#FFFFFF#000000##FFFFFF
##287C8A1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70778B
Deuteranopia (green-blind)
#626D8A
Tritanopia (blue-blind)
#008280
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #287c8a;
/* rgb */ color: rgb(40, 124, 138);
/* oklch */ color: oklch(54.3% 0.081 210.8);
Tailwind
colors: {
  custom: {
    50: '#70a2ac',
    500: '#287c8a',
    950: '#000000',
  },
}
SCSS
$custom: #287c8a;
$custom-light: #70a2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#287c8a",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 188.571,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5429,
    "c": 0.08077,
    "h": 210.8
  },
  "luminance": 0.16701
}

Semantic roles & 50–950 ramp

primary
#287C8A
secondary
#B56659
accent
#5F49DE
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #287C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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