#287DC5#287DC5

#287DC5 is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.5% C 0.136 H 248.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#287DC5
RGBrgb(40, 125, 197)
HSLhsl(208, 66%, 46%)
HSVhsv(208, 80%, 77%)
CMYKcmyk(79.7%, 36.5%, 0%, 22.7%)
CIE-LABlab(50.86, 0.44, -44.53)
CIE-LCHlch(50.86, 44.53, 270.57°)
OKLaboklab(57.54% -0.0497 -0.1269)
OKLCHoklch(57.54% 0.136 248.6)
XYZxyz(18.2829, 19.1473, 55.5447)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287DC5 #C57028
analogous
#28C5BF #287DC5 #282EC5
triadic
#287DC5 #C5287D #7DC528
tetradic
#287DC5 #BF28C5 #C57028 #2EC528
square
#287DC5 #BF28C5 #C57028 #2EC528
split-complementary
#287DC5 #C5282E #C5BF28
monochromatic
#133C5F #1E5D92 #287DC5 #4F9BDB #82B8E6

Accessibility & contrast

On white

4.35
#287DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#287DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287DC5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287DC5#FFFFFF#000000##000000
##287DC51.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B81C8
Deuteranopia (green-blind)
#4473C4
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #287dc5;
/* rgb */ color: rgb(40, 125, 197);
/* oklch */ color: oklch(57.5% 0.136 248.6);
Tailwind
colors: {
  custom: {
    50: '#7aa2d7',
    500: '#287dc5',
    950: '#000000',
  },
}
SCSS
$custom: #287dc5;
$custom-light: #7aa2d7;
$custom-dark: #000000;
JSON
{
  "hex": "#287dc5",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 197
  },
  "hsl": {
    "h": 207.516,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57539,
    "c": 0.13628,
    "h": 248.6
  },
  "luminance": 0.1915
}

Semantic roles & 50–950 ramp

primary
#287DC5
secondary
#CEA17A
accent
#8D3FE9
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #287DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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