#5287DA#5287DA

#5287DA is a light, vivid blue. Relative luminance 0.242; OKLCH L 62.5% C 0.138 H 259.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5287DA
RGBrgb(82, 135, 218)
HSLhsl(217, 65%, 59%)
HSVhsv(217, 62%, 85%)
CMYKcmyk(62.4%, 38.1%, 0%, 14.5%)
CIE-LABlab(56.27, 7.97, -47.75)
CIE-LCHlch(56.27, 48.41, 279.48°)
OKLaboklab(62.53% -0.0262 -0.1356)
OKLCHoklch(62.53% 0.138 259)
XYZxyz(24.7941, 24.1814, 69.6769)
Luminance0.2418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5287DA #DAA552
analogous
#52CBDA #5287DA #6152DA
triadic
#5287DA #DA5287 #87DA52
tetradic
#5287DA #DA52CB #DAA552 #52DA61
square
#5287DA #DA52CB #DAA552 #52DA61
split-complementary
#5287DA #DA6152 #CBDA52
monochromatic
#1F4C92 #2A66C5 #5287DA #84AAE5 #B7CDF0

Accessibility & contrast

On white

3.60
#5287DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#5287DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5287DA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5287DA#FFFFFF#000000##000000
##5287DA1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#638EDD
Deuteranopia (green-blind)
#5081D8
Tritanopia (blue-blind)
#009AA6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5287da;
/* rgb */ color: rgb(82, 135, 218);
/* oklch */ color: oklch(62.5% 0.138 259.0);
Tailwind
colors: {
  custom: {
    50: '#8ea9e6',
    500: '#5287da',
    950: '#000000',
  },
}
SCSS
$custom: #5287da;
$custom-light: #8ea9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5287da",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 216.618,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62526,
    "c": 0.13817,
    "h": 259
  },
  "luminance": 0.24184
}

Semantic roles & 50–950 ramp

primary
#5287DA
secondary
#DFCAA9
accent
#A640E8
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5287DA

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

Preview Lab → · Contrast checker → · Palette generator →

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