#5287C1#5287C1

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

Color values

HEX#5287C1
RGBrgb(82, 135, 193)
HSLhsl(211, 47%, 54%)
HSVhsv(211, 58%, 76%)
CMYKcmyk(57.5%, 30.1%, 0%, 24.3%)
CIE-LABlab(55.04, -0.31, -35.56)
CIE-LCHlch(55.04, 35.56, 269.50°)
OKLaboklab(61.17% -0.0328 -0.1001)
OKLCHoklch(61.17% 0.105 251.9)
XYZxyz(21.7659, 22.9702, 53.7284)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5287C1 #C18C52
analogous
#52BFC1 #5287C1 #5552C1
triadic
#5287C1 #C15287 #87C152
tetradic
#5287C1 #C152BF #C18C52 #52C155
square
#5287C1 #C152BF #C18C52 #52C155
split-complementary
#5287C1 #C15552 #BFC152
monochromatic
#284B70 #38699D #5287C1 #7FA6D1 #ACC6E1

Accessibility & contrast

On white

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

On black

5.59
#5287C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5287C1
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5287C1#FFFFFF#000000##000000
##5287C11.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8AC4
Deuteranopia (green-blind)
#607FC0
Tritanopia (blue-blind)
#00949B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5287c1;
/* rgb */ color: rgb(82, 135, 193);
/* oklch */ color: oklch(61.2% 0.105 251.9);
Tailwind
colors: {
  custom: {
    50: '#8ba9d4',
    500: '#5287c1',
    950: '#000000',
  },
}
SCSS
$custom: #5287c1;
$custom-light: #8ba9d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5287c1",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 193
  },
  "hsl": {
    "h": 211.351,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61166,
    "c": 0.10535,
    "h": 251.9
  },
  "luminance": 0.22972
}

Semantic roles & 50–950 ramp

primary
#5287C1
secondary
#CFB8A0
accent
#9751D7
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0D0F14
muted
#7D7F83

Preview Lab

Preview with #5287C1

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

Preview Lab → · Contrast checker → · Palette generator →

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