#5285DC#5285DC

#5285DC is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.2% C 0.143 H 260.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5285DC
RGBrgb(82, 133, 220)
HSLhsl(218, 66%, 59%)
HSVhsv(218, 63%, 86%)
CMYKcmyk(62.7%, 39.5%, 0%, 13.7%)
CIE-LABlab(55.82, 9.85, -49.58)
CIE-LCHlch(55.82, 50.55, 281.24°)
OKLaboklab(62.21% -0.0238 -0.141)
OKLCHoklch(62.21% 0.143 260.4)
XYZxyz(24.7809, 23.7339, 70.9714)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5285DC #DCA952
analogous
#52CADC #5285DC #6452DC
triadic
#5285DC #DC5285 #85DC52
tetradic
#5285DC #DC52CA #DCA952 #52DC64
square
#5285DC #DC52CA #DCA952 #52DC64
split-complementary
#5285DC #DC6452 #CADC52
monochromatic
#1E4A95 #2964C8 #5285DC #85A9E6 #B8CDF1

Accessibility & contrast

On white

3.65
#5285DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#5285DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5285DC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5285DC#FFFFFF#000000##000000
##5285DC1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8DDF
Deuteranopia (green-blind)
#4B80DA
Tritanopia (blue-blind)
#0099A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5285dc;
/* rgb */ color: rgb(82, 133, 220);
/* oklch */ color: oklch(62.2% 0.143 260.4);
Tailwind
colors: {
  custom: {
    50: '#8fa8e7',
    500: '#5285dc',
    950: '#000000',
  },
}
SCSS
$custom: #5285dc;
$custom-light: #8fa8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5285dc",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 220
  },
  "hsl": {
    "h": 217.826,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62212,
    "c": 0.14304,
    "h": 260.4
  },
  "luminance": 0.23736
}

Semantic roles & 50–950 ramp

primary
#5285DC
secondary
#E0CCAA
accent
#AA3FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5285DC

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

Preview Lab → · Contrast checker → · Palette generator →

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