#287CC5#287CC5

#287CC5 is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.3% C 0.137 H 249.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#287CC5
RGBrgb(40, 124, 197)
HSLhsl(208, 66%, 46%)
HSVhsv(208, 80%, 77%)
CMYKcmyk(79.7%, 37.1%, 0%, 22.7%)
CIE-LABlab(50.56, 1.05, -45.00)
CIE-LCHlch(50.56, 45.01, 271.33°)
OKLaboklab(57.31% -0.0488 -0.1283)
OKLCHoklch(57.31% 0.137 249.2)
XYZxyz(18.1569, 18.8954, 55.5027)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287CC5 #C57128
analogous
#28C5C0 #287CC5 #282EC5
triadic
#287CC5 #C5287C #7CC528
tetradic
#287CC5 #C028C5 #C57128 #2EC528
square
#287CC5 #C028C5 #C57128 #2EC528
split-complementary
#287CC5 #C5282E #C5C028
monochromatic
#133C5F #1E5C92 #287CC5 #4F9ADB #82B7E6

Accessibility & contrast

On white

4.39
#287CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#287CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287CC5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287CC5#FFFFFF#000000##000000
##287CC51.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5980C8
Deuteranopia (green-blind)
#4272C4
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #287cc5;
/* rgb */ color: rgb(40, 124, 197);
/* oklch */ color: oklch(57.3% 0.137 249.2);
Tailwind
colors: {
  custom: {
    50: '#7aa1d7',
    500: '#287cc5',
    950: '#000000',
  },
}
SCSS
$custom: #287cc5;
$custom-light: #7aa1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#287cc5",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 197
  },
  "hsl": {
    "h": 207.898,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57307,
    "c": 0.13726,
    "h": 249.2
  },
  "luminance": 0.18898
}

Semantic roles & 50–950 ramp

primary
#287CC5
secondary
#CEA17A
accent
#8E3FE9
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #287CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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