#5288DC#5288DC

#5288DC is a light, vivid blue. Relative luminance 0.246; OKLCH L 62.9% C 0.140 H 258.9°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5288DC
RGBrgb(82, 136, 220)
HSLhsl(217, 66%, 59%)
HSVhsv(217, 63%, 86%)
CMYKcmyk(62.7%, 38.2%, 0%, 13.7%)
CIE-LABlab(56.65, 8.05, -48.26)
CIE-LCHlch(56.65, 48.93, 279.47°)
OKLaboklab(62.86% -0.0268 -0.1371)
OKLCHoklch(62.86% 0.14 258.9)
XYZxyz(25.1975, 24.5671, 71.1103)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5288DC #DCA652
analogous
#52CDDC #5288DC #6152DC
triadic
#5288DC #DC5288 #88DC52
tetradic
#5288DC #DC52CD #DCA652 #52DC61
square
#5288DC #DC52CD #DCA652 #52DC61
split-complementary
#5288DC #DC6152 #CDDC52
monochromatic
#1E4D95 #2967C8 #5288DC #85ABE6 #B8CEF1

Accessibility & contrast

On white

3.55
#5288DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#5288DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5288DC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5288DC#FFFFFF#000000##000000
##5288DC1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FDF
Deuteranopia (green-blind)
#5082DA
Tritanopia (blue-blind)
#009BA7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5288dc;
/* rgb */ color: rgb(82, 136, 220);
/* oklch */ color: oklch(62.9% 0.140 258.9);
Tailwind
colors: {
  custom: {
    50: '#8faae7',
    500: '#5288dc',
    950: '#000000',
  },
}
SCSS
$custom: #5288dc;
$custom-light: #8faae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5288dc",
  "rgb": {
    "r": 82,
    "g": 136,
    "b": 220
  },
  "hsl": {
    "h": 216.522,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62856,
    "c": 0.13975,
    "h": 258.9
  },
  "luminance": 0.24569
}

Semantic roles & 50–950 ramp

primary
#5288DC
secondary
#E0CBAA
accent
#A63FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5288DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5288DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva