#5287BB#5287BB

#5287BB is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.9% C 0.098 H 249.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5287BB
RGBrgb(82, 135, 187)
HSLhsl(210, 44%, 53%)
HSVhsv(210, 56%, 73%)
CMYKcmyk(56.1%, 27.8%, 0%, 26.7%)
CIE-LABlab(54.77, -2.25, -32.56)
CIE-LCHlch(54.77, 32.64, 266.06°)
OKLaboklab(60.86% -0.0346 -0.0915)
OKLCHoklch(60.86% 0.098 249.3)
XYZxyz(21.1101, 22.7079, 50.2747)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5287BB #BB8652
analogous
#52BBBA #5287BB #5253BB
triadic
#5287BB #BB5287 #87BB52
tetradic
#5287BB #BA52BB #BB8652 #53BB52
square
#5287BB #BA52BB #BB8652 #53BB52
split-complementary
#5287BB #BB5253 #BBBA52
monochromatic
#294A69 #3B6895 #5287BB #7EA5CC #AAC4DE

Accessibility & contrast

On white

3.79
#5287BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#5287BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5287BB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5287BB#FFFFFF#000000##000000
##5287BB1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189BD
Deuteranopia (green-blind)
#647EBA
Tritanopia (blue-blind)
#009399
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5287bb;
/* rgb */ color: rgb(82, 135, 187);
/* oklch */ color: oklch(60.9% 0.098 249.3);
Tailwind
colors: {
  custom: {
    50: '#8aa9cf',
    500: '#5287bb',
    950: '#000000',
  },
}
SCSS
$custom: #5287bb;
$custom-light: #8aa9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5287bb",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 209.714,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60863,
    "c": 0.09779,
    "h": 249.3
  },
  "luminance": 0.2271
}

Semantic roles & 50–950 ramp

primary
#5287BB
secondary
#CBB49E
accent
#9354D3
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #5287BB

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

Preview Lab → · Contrast checker → · Palette generator →

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