#5287CD#5287CD

#5287CD is a mid, vivid cyan. Relative luminance 0.235; OKLCH L 61.8% C 0.121 H 255.9°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5287CD
RGBrgb(82, 135, 205)
HSLhsl(214, 55%, 56%)
HSVhsv(214, 60%, 80%)
CMYKcmyk(60%, 34.1%, 0%, 19.6%)
CIE-LABlab(55.61, 3.62, -41.47)
CIE-LCHlch(55.61, 41.62, 275.00°)
OKLaboklab(61.8% -0.0294 -0.1173)
OKLCHoklch(61.8% 0.121 255.9)
XYZxyz(23.1592, 23.5275, 61.0666)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5287CD #CD9852
analogous
#52C5CD #5287CD #5B52CD
triadic
#5287CD #CD5287 #87CD52
tetradic
#5287CD #CD52C5 #CD9852 #52CD5B
square
#5287CD #CD52C5 #CD9852 #52CD5B
split-complementary
#5287CD #CD5B52 #C5CD52
monochromatic
#254C80 #3368AF #5287CD #81A8DB #B1C9E8

Accessibility & contrast

On white

3.68
#5287CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#5287CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5287CD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5287CD#FFFFFF#000000##000000
##5287CD1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CD0
Deuteranopia (green-blind)
#5980CC
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5287cd;
/* rgb */ color: rgb(82, 135, 205);
/* oklch */ color: oklch(61.8% 0.121 255.9);
Tailwind
colors: {
  custom: {
    50: '#8ca9dc',
    500: '#5287cd',
    950: '#000000',
  },
}
SCSS
$custom: #5287cd;
$custom-light: #8ca9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5287cd",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 214.146,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61799,
    "c": 0.12094,
    "h": 255.9
  },
  "luminance": 0.2353
}

Semantic roles & 50–950 ramp

primary
#5287CD
secondary
#D7C1A4
accent
#9E49DE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5287CD

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

Preview Lab → · Contrast checker → · Palette generator →

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