#5287CE#5287CE

#5287CE is a mid, vivid cyan. Relative luminance 0.236; OKLCH L 61.9% C 0.122 H 256.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5287CE
RGBrgb(82, 135, 206)
HSLhsl(214, 56%, 56%)
HSVhsv(214, 60%, 81%)
CMYKcmyk(60.2%, 34.5%, 0%, 19.2%)
CIE-LABlab(55.66, 3.96, -41.95)
CIE-LCHlch(55.66, 42.14, 275.39°)
OKLaboklab(61.85% -0.0292 -0.1187)
OKLCHoklch(61.85% 0.122 256.2)
XYZxyz(23.2803, 23.5759, 61.7043)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5287CE #CE9952
analogous
#52C5CE #5287CE #5B52CE
triadic
#5287CE #CE5287 #87CE52
tetradic
#5287CE #CE52C5 #CE9952 #52CE5B
square
#5287CE #CE52C5 #CE9952 #52CE5B
split-complementary
#5287CE #CE5B52 #C5CE52
monochromatic
#254C81 #3268B1 #5287CE #82A8DC #B1C9E9

Accessibility & contrast

On white

3.67
#5287CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#5287CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5287CE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5287CE#FFFFFF#000000##000000
##5287CE1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#698CD1
Deuteranopia (green-blind)
#5980CD
Tritanopia (blue-blind)
#0097A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5287ce;
/* rgb */ color: rgb(82, 135, 206);
/* oklch */ color: oklch(61.9% 0.122 256.2);
Tailwind
colors: {
  custom: {
    50: '#8da9dd',
    500: '#5287ce',
    950: '#000000',
  },
}
SCSS
$custom: #5287ce;
$custom-light: #8da9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5287ce",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 214.355,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61853,
    "c": 0.12225,
    "h": 256.2
  },
  "luminance": 0.23578
}

Semantic roles & 50–950 ramp

primary
#5287CE
secondary
#D7C2A4
accent
#9F49DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5287CE

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

Preview Lab → · Contrast checker → · Palette generator →

#5287CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva