#5287C2#5287C2

#5287C2 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 61.2% C 0.107 H 252.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5287C2
RGBrgb(82, 135, 194)
HSLhsl(212, 48%, 54%)
HSVhsv(212, 58%, 76%)
CMYKcmyk(57.7%, 30.4%, 0%, 23.9%)
CIE-LABlab(55.09, 0.01, -36.05)
CIE-LCHlch(55.09, 36.05, 270.02°)
OKLaboklab(61.22% -0.0325 -0.1016)
OKLCHoklch(61.22% 0.107 252.3)
XYZxyz(21.8778, 23.0149, 54.3179)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5287C2 #C28D52
analogous
#52BFC2 #5287C2 #5552C2
triadic
#5287C2 #C25287 #87C252
tetradic
#5287C2 #C252BF #C28D52 #52C255
square
#5287C2 #C252BF #C28D52 #52C255
split-complementary
#5287C2 #C25552 #BFC252
monochromatic
#284B72 #38699F #5287C2 #7FA6D2 #ACC6E2

Accessibility & contrast

On white

3.75
#5287C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#5287C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5287C2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5287C2#FFFFFF#000000##000000
##5287C21.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8AC5
Deuteranopia (green-blind)
#607FC1
Tritanopia (blue-blind)
#00959C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5287c2;
/* rgb */ color: rgb(82, 135, 194);
/* oklch */ color: oklch(61.2% 0.107 252.3);
Tailwind
colors: {
  custom: {
    50: '#8ba9d4',
    500: '#5287c2',
    950: '#000000',
  },
}
SCSS
$custom: #5287c2;
$custom-light: #8ba9d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5287c2",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 211.607,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61217,
    "c": 0.10663,
    "h": 252.3
  },
  "luminance": 0.23017
}

Semantic roles & 50–950 ramp

primary
#5287C2
secondary
#D0B9A0
accent
#9850D7
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0D0F14
muted
#7D7F83

Preview Lab

Preview with #5287C2

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

Preview Lab → · Contrast checker → · Palette generator →

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