#5287DB#5287DB

#5287DB is a light, vivid blue. Relative luminance 0.242; OKLCH L 62.6% C 0.140 H 259.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5287DB
RGBrgb(82, 135, 219)
HSLhsl(217, 66%, 59%)
HSVhsv(217, 63%, 86%)
CMYKcmyk(62.6%, 38.4%, 0%, 14.1%)
CIE-LABlab(56.32, 8.31, -48.22)
CIE-LCHlch(56.32, 48.94, 279.78°)
OKLaboklab(62.58% -0.026 -0.137)
OKLCHoklch(62.58% 0.14 259.2)
XYZxyz(24.9253, 24.2339, 70.3682)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5287DB #DBA652
analogous
#52CCDB #5287DB #6252DB
triadic
#5287DB #DB5287 #87DB52
tetradic
#5287DB #DB52CC #DBA652 #52DB62
square
#5287DB #DB52CC #DBA652 #52DB62
split-complementary
#5287DB #DB6252 #CCDB52
monochromatic
#1F4C94 #2966C6 #5287DB #85AAE6 #B7CDF0

Accessibility & contrast

On white

3.59
#5287DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#5287DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5287DB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5287DB#FFFFFF#000000##000000
##5287DB1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDE
Deuteranopia (green-blind)
#4F81D9
Tritanopia (blue-blind)
#009AA6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5287db;
/* rgb */ color: rgb(82, 135, 219);
/* oklch */ color: oklch(62.6% 0.140 259.2);
Tailwind
colors: {
  custom: {
    50: '#8fa9e6',
    500: '#5287db',
    950: '#000000',
  },
}
SCSS
$custom: #5287db;
$custom-light: #8fa9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5287db",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 216.788,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62583,
    "c": 0.1395,
    "h": 259.2
  },
  "luminance": 0.24236
}

Semantic roles & 50–950 ramp

primary
#5287DB
secondary
#DFCAAA
accent
#A73FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5287DB

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

Preview Lab → · Contrast checker → · Palette generator →

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