#5287D7#5287D7

#5287D7 is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.4% C 0.134 H 258.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5287D7
RGBrgb(82, 135, 215)
HSLhsl(216, 62%, 58%)
HSVhsv(216, 62%, 84%)
CMYKcmyk(61.9%, 37.2%, 0%, 15.7%)
CIE-LABlab(56.11, 6.96, -46.31)
CIE-LCHlch(56.11, 46.83, 278.55°)
OKLaboklab(62.35% -0.0269 -0.1314)
OKLCHoklch(62.35% 0.134 258.4)
XYZxyz(24.4050, 24.0258, 67.6281)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5287D7 #D7A252
analogous
#52C9D7 #5287D7 #5F52D7
triadic
#5287D7 #D75287 #87D752
tetradic
#5287D7 #D752C9 #D7A252 #52D75F
square
#5287D7 #D752C9 #D7A252 #52D75F
split-complementary
#5287D7 #D75F52 #C9D752
monochromatic
#214C8E #2C67C0 #5287D7 #84A9E2 #B5CCEE

Accessibility & contrast

On white

3.62
#5287D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#5287D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5287D7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5287D7#FFFFFF#000000##000000
##5287D71.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#648DDA
Deuteranopia (green-blind)
#5281D5
Tritanopia (blue-blind)
#0099A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5287d7;
/* rgb */ color: rgb(82, 135, 215);
/* oklch */ color: oklch(62.4% 0.134 258.4);
Tailwind
colors: {
  custom: {
    50: '#8ea9e4',
    500: '#5287d7',
    950: '#000000',
  },
}
SCSS
$custom: #5287d7;
$custom-light: #8ea9e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5287d7",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 215
  },
  "hsl": {
    "h": 216.09,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62354,
    "c": 0.13417,
    "h": 258.4
  },
  "luminance": 0.24028
}

Semantic roles & 50–950 ramp

primary
#5287D7
secondary
#DDC8A8
accent
#A442E6
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #5287D7

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

Preview Lab → · Contrast checker → · Palette generator →

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