#287BC5#287BC5

#287BC5 is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.1% C 0.138 H 249.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#287BC5
RGBrgb(40, 123, 197)
HSLhsl(208, 66%, 46%)
HSVhsv(208, 80%, 77%)
CMYKcmyk(79.7%, 37.6%, 0%, 22.7%)
CIE-LABlab(50.27, 1.65, -45.47)
CIE-LCHlch(50.27, 45.50, 272.08°)
OKLaboklab(57.08% -0.0479 -0.1297)
OKLCHoklch(57.08% 0.138 249.7)
XYZxyz(18.0322, 18.6461, 55.4612)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287BC5 #C57228
analogous
#28C5C1 #287BC5 #282DC5
triadic
#287BC5 #C5287B #7BC528
tetradic
#287BC5 #C128C5 #C57228 #2DC528
square
#287BC5 #C128C5 #C57228 #2DC528
split-complementary
#287BC5 #C5282D #C5C128
monochromatic
#133B5F #1E5B92 #287BC5 #4F99DB #82B7E6

Accessibility & contrast

On white

4.44
#287BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#287BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287BC5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287BC5#FFFFFF#000000##000000
##287BC51.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#587FC8
Deuteranopia (green-blind)
#4071C4
Tritanopia (blue-blind)
#008D96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #287bc5;
/* rgb */ color: rgb(40, 123, 197);
/* oklch */ color: oklch(57.1% 0.138 249.7);
Tailwind
colors: {
  custom: {
    50: '#7aa0d7',
    500: '#287bc5',
    950: '#000000',
  },
}
SCSS
$custom: #287bc5;
$custom-light: #7aa0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#287bc5",
  "rgb": {
    "r": 40,
    "g": 123,
    "b": 197
  },
  "hsl": {
    "h": 208.28,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57077,
    "c": 0.13826,
    "h": 249.7
  },
  "luminance": 0.18648
}

Semantic roles & 50–950 ramp

primary
#287BC5
secondary
#CEA27A
accent
#8F3FE9
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #287BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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