#287C9D#287C9D

#287C9D is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.1% C 0.093 H 228.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#287C9D
RGBrgb(40, 124, 157)
HSLhsl(197, 59%, 39%)
HSVhsv(197, 75%, 62%)
CMYKcmyk(74.5%, 21%, 0%, 38.4%)
CIE-LABlab(48.63, -13.50, -24.89)
CIE-LCHlch(48.63, 28.31, 241.52°)
OKLaboklab(55.15% -0.0616 -0.0698)
OKLCHoklch(55.15% 0.093 228.6)
XYZxyz(14.1661, 17.2991, 34.4842)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C9D #9D4928
analogous
#289D83 #287C9D #28419D
triadic
#287C9D #9D287C #7C9D28
tetradic
#287C9D #83289D #9D4928 #419D28
square
#287C9D #83289D #9D4928 #419D28
split-complementary
#287C9D #9D2841 #9D8328
monochromatic
#0F2F3B #1C556C #287C9D #36A2CC #67B8D8

Accessibility & contrast

On white

4.71
#287C9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#287C9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C9D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C9D#FFFFFF#000000##FFFFFF
##287C9D1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7A9F
Deuteranopia (green-blind)
#5B6F9D
Tritanopia (blue-blind)
#008587
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #287c9d;
/* rgb */ color: rgb(40, 124, 157);
/* oklch */ color: oklch(55.1% 0.093 228.6);
Tailwind
colors: {
  custom: {
    50: '#73a2ba',
    500: '#287c9d',
    950: '#000000',
  },
}
SCSS
$custom: #287c9d;
$custom-light: #73a2ba;
$custom-dark: #000000;
JSON
{
  "hex": "#287c9d",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 157
  },
  "hsl": {
    "h": 196.923,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.55146,
    "c": 0.09313,
    "h": 228.6
  },
  "luminance": 0.17301
}

Semantic roles & 50–950 ramp

primary
#287C9D
secondary
#BE7C62
accent
#7245E3
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #287C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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