#287D9C#287D9C

#287D9C is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.3% C 0.092 H 226.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#287D9C
RGBrgb(40, 125, 156)
HSLhsl(196, 59%, 38%)
HSVhsv(196, 74%, 61%)
CMYKcmyk(74.4%, 19.9%, 0%, 38.8%)
CIE-LABlab(48.91, -14.41, -23.89)
CIE-LCHlch(48.91, 27.90, 238.90°)
OKLaboklab(55.35% -0.063 -0.067)
OKLCHoklch(55.35% 0.092 226.7)
XYZxyz(14.2070, 17.5170, 34.0784)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D9C #9C4728
analogous
#289C81 #287D9C #28439C
triadic
#287D9C #9C287D #7D9C28
tetradic
#287D9C #81289C #9C4728 #439C28
square
#287D9C #81289C #9C4728 #439C28
split-complementary
#287D9C #9C2843 #9C8128
monochromatic
#0F2F3B #1C566B #287D9C #36A3CB #67BAD8

Accessibility & contrast

On white

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

On black

4.50
#287D9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##287D9C#FFFFFF#000000##FFFFFF
##287D9C1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7B9E
Deuteranopia (green-blind)
#5D6F9C
Tritanopia (blue-blind)
#008687
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #287d9c;
/* rgb */ color: rgb(40, 125, 156);
/* oklch */ color: oklch(55.3% 0.092 226.7);
Tailwind
colors: {
  custom: {
    50: '#73a2b9',
    500: '#287d9c',
    950: '#000000',
  },
}
SCSS
$custom: #287d9c;
$custom-light: #73a2b9;
$custom-dark: #000000;
JSON
{
  "hex": "#287d9c",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 156
  },
  "hsl": {
    "h": 196.034,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.55348,
    "c": 0.09195,
    "h": 226.7
  },
  "luminance": 0.17519
}

Semantic roles & 50–950 ramp

primary
#287D9C
secondary
#BE7A62
accent
#6F45E2
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #287D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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