#287D8E#287D8E

#287D8E is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 54.7% C 0.083 H 213.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#287D8E
RGBrgb(40, 125, 142)
HSLhsl(190, 56%, 36%)
HSVhsv(190, 72%, 56%)
CMYKcmyk(71.8%, 12%, 0%, 44.3%)
CIE-LABlab(48.35, -19.16, -16.53)
CIE-LCHlch(48.35, 25.30, 220.78°)
OKLaboklab(54.72% -0.0687 -0.046)
OKLCHoklch(54.72% 0.083 213.8)
XYZxyz(13.0891, 17.0698, 28.1909)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D8E #8E3928
analogous
#288E6C #287D8E #284A8E
triadic
#287D8E #8E287D #7D8E28
tetradic
#287D8E #6C288E #8E3928 #4A8E28
square
#287D8E #6C288E #8E3928 #4A8E28
split-complementary
#287D8E #8E284A #8E6C28
monochromatic
#0D292F #1B535E #287D8E #35A7BE #5FBFD2

Accessibility & contrast

On white

4.76
#287D8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#287D8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D8E
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D8E#FFFFFF#000000##FFFFFF
##287D8E1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71798F
Deuteranopia (green-blind)
#626E8E
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #287d8e;
/* rgb */ color: rgb(40, 125, 142);
/* oklch */ color: oklch(54.7% 0.083 213.8);
Tailwind
colors: {
  custom: {
    50: '#71a3af',
    500: '#287d8e',
    950: '#000000',
  },
}
SCSS
$custom: #287d8e;
$custom-light: #71a3af;
$custom-dark: #000000;
JSON
{
  "hex": "#287d8e",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 142
  },
  "hsl": {
    "h": 190,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54717,
    "c": 0.0827,
    "h": 213.8
  },
  "luminance": 0.17071
}

Semantic roles & 50–950 ramp

primary
#287D8E
secondary
#B76A5B
accent
#6248DF
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #287D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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