#5287E8#5287E8

#5287E8 is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.4% C 0.157 H 261.4°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5287E8
RGBrgb(82, 135, 232)
HSLhsl(219, 77%, 62%)
HSVhsv(219, 65%, 91%)
CMYKcmyk(64.7%, 41.8%, 0%, 9%)
CIE-LABlab(57.02, 12.73, -54.37)
CIE-LCHlch(57.02, 55.84, 283.17°)
OKLaboklab(63.35% -0.0233 -0.1551)
OKLCHoklch(63.35% 0.157 261.4)
XYZxyz(26.7040, 24.9454, 79.7359)
Luminance0.2495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5287E8 #E8B352
analogous
#52D2E8 #5287E8 #6852E8
triadic
#5287E8 #E85287 #87E852
tetradic
#5287E8 #E852D2 #E8B352 #52E868
square
#5287E8 #E852D2 #E8B352 #52E868
split-complementary
#5287E8 #E86852 #D2E852
monochromatic
#164AA9 #1E62DF #5287E8 #88ACEF #BED2F6

Accessibility & contrast

On white

3.51
#5287E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#5287E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5287E8
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5287E8#FFFFFF#000000##000000
##5287E81.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A90EC
Deuteranopia (green-blind)
#4382E6
Tritanopia (blue-blind)
#009DAC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5287e8;
/* rgb */ color: rgb(82, 135, 232);
/* oklch */ color: oklch(63.4% 0.157 261.4);
Tailwind
colors: {
  custom: {
    50: '#91a9f0',
    500: '#5287e8',
    950: '#000000',
  },
}
SCSS
$custom: #5287e8;
$custom-light: #91a9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5287e8",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 232
  },
  "hsl": {
    "h": 218.8,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63354,
    "c": 0.15682,
    "h": 261.4
  },
  "luminance": 0.24948
}

Semantic roles & 50–950 ramp

primary
#5287E8
secondary
#E7D3AF
accent
#910DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5287E8

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

Preview Lab → · Contrast checker → · Palette generator →

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