#5285DE#5285DE

#5285DE is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.3% C 0.146 H 260.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5285DE
RGBrgb(82, 133, 222)
HSLhsl(218, 68%, 60%)
HSVhsv(218, 63%, 87%)
CMYKcmyk(63.1%, 40.1%, 0%, 12.9%)
CIE-LABlab(55.93, 10.53, -50.53)
CIE-LCHlch(55.93, 51.62, 281.77°)
OKLaboklab(62.33% -0.0234 -0.1438)
OKLCHoklch(62.33% 0.146 260.8)
XYZxyz(25.0474, 23.8405, 72.3748)
Luminance0.2384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5285DE #DEAB52
analogous
#52CBDE #5285DE #6552DE
triadic
#5285DE #DE5285 #85DE52
tetradic
#5285DE #DE52CB #DEAB52 #52DE65
square
#5285DE #DE52CB #DEAB52 #52DE65
split-complementary
#5285DE #DE6552 #CBDE52
monochromatic
#1D4A99 #2763CC #5285DE #85A9E8 #B9CDF2

Accessibility & contrast

On white

3.64
#5285DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#5285DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5285DE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5285DE#FFFFFF#000000##000000
##5285DE1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8DE2
Deuteranopia (green-blind)
#4980DC
Tritanopia (blue-blind)
#0099A7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5285de;
/* rgb */ color: rgb(82, 133, 222);
/* oklch */ color: oklch(62.3% 0.146 260.8);
Tailwind
colors: {
  custom: {
    50: '#8fa8e9',
    500: '#5285de',
    950: '#000000',
  },
}
SCSS
$custom: #5285de;
$custom-light: #8fa8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5285de",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 222
  },
  "hsl": {
    "h": 218.143,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6233,
    "c": 0.14571,
    "h": 260.8
  },
  "luminance": 0.23843
}

Semantic roles & 50–950 ramp

primary
#5285DE
secondary
#E1CDAB
accent
#AB3DEB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5285DE

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

Preview Lab → · Contrast checker → · Palette generator →

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