#5287C3#5287C3

#5287C3 is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 61.3% C 0.108 H 252.6°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5287C3
RGBrgb(82, 135, 195)
HSLhsl(212, 48%, 54%)
HSVhsv(212, 58%, 76%)
CMYKcmyk(57.9%, 30.8%, 0%, 23.5%)
CIE-LABlab(55.13, 0.34, -36.55)
CIE-LCHlch(55.13, 36.55, 270.53°)
OKLaboklab(61.27% -0.0322 -0.103)
OKLCHoklch(61.27% 0.108 252.6)
XYZxyz(21.9905, 23.0600, 54.9113)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5287C3 #C38E52
analogous
#52C0C3 #5287C3 #5652C3
triadic
#5287C3 #C35287 #87C352
tetradic
#5287C3 #C352C0 #C38E52 #52C356
square
#5287C3 #C352C0 #C38E52 #52C356
split-complementary
#5287C3 #C35652 #C0C352
monochromatic
#284B73 #3869A0 #5287C3 #7FA7D3 #ADC6E3

Accessibility & contrast

On white

3.74
#5287C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#5287C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5287C3
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5287C3#FFFFFF#000000##000000
##5287C31.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8AC6
Deuteranopia (green-blind)
#5F7FC2
Tritanopia (blue-blind)
#00959C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5287c3;
/* rgb */ color: rgb(82, 135, 195);
/* oklch */ color: oklch(61.3% 0.108 252.6);
Tailwind
colors: {
  custom: {
    50: '#8ba9d5',
    500: '#5287c3',
    950: '#000000',
  },
}
SCSS
$custom: #5287c3;
$custom-light: #8ba9d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5287c3",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 195
  },
  "hsl": {
    "h": 211.858,
    "s": 48.498,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61269,
    "c": 0.10791,
    "h": 252.6
  },
  "luminance": 0.23062
}

Semantic roles & 50–950 ramp

primary
#5287C3
secondary
#D0BAA0
accent
#9850D8
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0D0F14
muted
#7D7F83

Preview Lab

Preview with #5287C3

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

Preview Lab → · Contrast checker → · Palette generator →

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