#5287C6#5287C6

#5287C6 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 61.4% C 0.112 H 253.7°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5287C6
RGBrgb(82, 135, 198)
HSLhsl(213, 50%, 55%)
HSVhsv(213, 59%, 78%)
CMYKcmyk(58.6%, 31.8%, 0%, 22.4%)
CIE-LABlab(55.27, 1.32, -38.03)
CIE-LCHlch(55.27, 38.06, 271.99°)
OKLaboklab(61.43% -0.0313 -0.1073)
OKLCHoklch(61.43% 0.112 253.7)
XYZxyz(22.3331, 23.1970, 56.7157)
Luminance0.2320 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5287C6 #C69152
analogous
#52C1C6 #5287C6 #5752C6
triadic
#5287C6 #C65287 #87C652
tetradic
#5287C6 #C652C1 #C69152 #52C657
square
#5287C6 #C652C1 #C69152 #52C657
split-complementary
#5287C6 #C65752 #C1C652
monochromatic
#274B77 #3669A5 #5287C6 #80A7D5 #AEC7E4

Accessibility & contrast

On white

3.72
#5287C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5287C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5287C6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5287C6#FFFFFF#000000##000000
##5287C61.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8BC9
Deuteranopia (green-blind)
#5E7FC5
Tritanopia (blue-blind)
#00959D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5287c6;
/* rgb */ color: rgb(82, 135, 198);
/* oklch */ color: oklch(61.4% 0.112 253.7);
Tailwind
colors: {
  custom: {
    50: '#8ca9d7',
    500: '#5287c6',
    950: '#000000',
  },
}
SCSS
$custom: #5287c6;
$custom-light: #8ca9d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5287c6",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 198
  },
  "hsl": {
    "h": 212.586,
    "s": 50.435,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61425,
    "c": 0.11179,
    "h": 253.7
  },
  "luminance": 0.23199
}

Semantic roles & 50–950 ramp

primary
#5287C6
secondary
#D2BCA2
accent
#9A4EDA
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5287C6

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

Preview Lab → · Contrast checker → · Palette generator →

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