#287D8A#287D8A

#287D8A is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.5% C 0.081 H 209.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#287D8A
RGBrgb(40, 125, 138)
HSLhsl(188, 55%, 35%)
HSVhsv(188, 71%, 54%)
CMYKcmyk(71%, 9.4%, 0%, 45.9%)
CIE-LABlab(48.20, -20.47, -14.40)
CIE-LCHlch(48.20, 25.03, 215.12°)
OKLaboklab(54.55% -0.0704 -0.04)
OKLCHoklch(54.55% 0.081 209.6)
XYZxyz(12.7942, 16.9519, 26.6376)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D8A #8A3528
analogous
#288A66 #287D8A #284C8A
triadic
#287D8A #8A287D #7D8A28
tetradic
#287D8A #66288A #8A3528 #4C8A28
square
#287D8A #66288A #8A3528 #4C8A28
split-complementary
#287D8A #8A284C #8A6628
monochromatic
#0C272B #1A525B #287D8A #36A8B9 #5DC1D0

Accessibility & contrast

On white

4.78
#287D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#287D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D8A
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D8A#FFFFFF#000000##FFFFFF
##287D8A1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72788B
Deuteranopia (green-blind)
#646E8A
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #287d8a;
/* rgb */ color: rgb(40, 125, 138);
/* oklch */ color: oklch(54.5% 0.081 209.6);
Tailwind
colors: {
  custom: {
    50: '#70a3ac',
    500: '#287d8a',
    950: '#000000',
  },
}
SCSS
$custom: #287d8a;
$custom-light: #70a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#287d8a",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 138
  },
  "hsl": {
    "h": 187.959,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54548,
    "c": 0.08102,
    "h": 209.6
  },
  "luminance": 0.16953
}

Semantic roles & 50–950 ramp

primary
#287D8A
secondary
#B56559
accent
#5D49DE
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #287D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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