#287B8D#287B8D

#287B8D is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.2% C 0.082 H 215.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#287B8D
RGBrgb(40, 123, 141)
HSLhsl(191, 56%, 35%)
HSVhsv(191, 72%, 55%)
CMYKcmyk(71.6%, 12.8%, 0%, 44.7%)
CIE-LABlab(47.67, -18.41, -16.97)
CIE-LCHlch(47.67, 25.04, 222.66°)
OKLaboklab(54.16% -0.067 -0.0473)
OKLCHoklch(54.16% 0.082 215.2)
XYZxyz(12.7637, 16.5387, 27.7137)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287B8D #8D3A28
analogous
#288D6C #287B8D #28488D
triadic
#287B8D #8D287B #7B8D28
tetradic
#287B8D #6C288D #8D3A28 #488D28
square
#287B8D #6C288D #8D3A28 #488D28
split-complementary
#287B8D #8D2848 #8D6C28
monochromatic
#0D282E #1A515D #287B8D #36A5BD #5EBDD1

Accessibility & contrast

On white

4.87
#287B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#287B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287B8D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287B8D#FFFFFF#000000##FFFFFF
##287B8D1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E778E
Deuteranopia (green-blind)
#606D8D
Tritanopia (blue-blind)
#008281
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #287b8d;
/* rgb */ color: rgb(40, 123, 141);
/* oklch */ color: oklch(54.2% 0.082 215.2);
Tailwind
colors: {
  custom: {
    50: '#71a1ae',
    500: '#287b8d',
    950: '#000000',
  },
}
SCSS
$custom: #287b8d;
$custom-light: #71a1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#287b8d",
  "rgb": {
    "r": 40,
    "g": 123,
    "b": 141
  },
  "hsl": {
    "h": 190.693,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54162,
    "c": 0.08199,
    "h": 215.2
  },
  "luminance": 0.1654
}

Semantic roles & 50–950 ramp

primary
#287B8D
secondary
#B76B5A
accent
#6349DF
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090F10
muted
#7B7E7F

Preview Lab

Preview with #287B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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