#287D9D#287D9D

#287D9D is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.4% C 0.093 H 227.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#287D9D
RGBrgb(40, 125, 157)
HSLhsl(196, 59%, 39%)
HSVhsv(196, 75%, 62%)
CMYKcmyk(74.5%, 20.4%, 0%, 38.4%)
CIE-LABlab(48.95, -14.06, -24.41)
CIE-LCHlch(48.95, 28.17, 240.05°)
OKLaboklab(55.4% -0.0626 -0.0684)
OKLCHoklch(55.4% 0.093 227.5)
XYZxyz(14.2920, 17.5510, 34.5262)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D9D #9D4828
analogous
#289D82 #287D9D #28429D
triadic
#287D9D #9D287D #7D9D28
tetradic
#287D9D #82289D #9D4828 #429D28
square
#287D9D #82289D #9D4828 #429D28
split-complementary
#287D9D #9D2842 #9D8228
monochromatic
#0F2F3B #1C566C #287D9D #36A3CC #67B9D8

Accessibility & contrast

On white

4.66
#287D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#287D9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #287D9D
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D9D#FFFFFF#000000##FFFFFF
##287D9D1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7B9F
Deuteranopia (green-blind)
#5C6F9D
Tritanopia (blue-blind)
#008688
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #287d9d;
/* rgb */ color: rgb(40, 125, 157);
/* oklch */ color: oklch(55.4% 0.093 227.5);
Tailwind
colors: {
  custom: {
    50: '#73a2ba',
    500: '#287d9d',
    950: '#000000',
  },
}
SCSS
$custom: #287d9d;
$custom-light: #73a2ba;
$custom-dark: #000000;
JSON
{
  "hex": "#287d9d",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 157
  },
  "hsl": {
    "h": 196.41,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.55396,
    "c": 0.09278,
    "h": 227.5
  },
  "luminance": 0.17553
}

Semantic roles & 50–950 ramp

primary
#287D9D
secondary
#BE7C62
accent
#7045E3
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #287D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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