#5285E6#5285E6

#5285E6 is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.8% C 0.156 H 262.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5285E6
RGBrgb(82, 133, 230)
HSLhsl(219, 75%, 61%)
HSVhsv(219, 64%, 90%)
CMYKcmyk(64.3%, 42.2%, 0%, 9.8%)
CIE-LABlab(56.37, 13.25, -54.30)
CIE-LCHlch(56.37, 55.90, 283.71°)
OKLaboklab(62.81% -0.0218 -0.1549)
OKLCHoklch(62.81% 0.156 262)
XYZxyz(26.1451, 24.2796, 78.1562)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5285E6 #E6B352
analogous
#52CFE6 #5285E6 #6952E6
triadic
#5285E6 #E65285 #85E652
tetradic
#5285E6 #E652CF #E6B352 #52E669
square
#5285E6 #E652CF #E6B352 #52E669
split-complementary
#5285E6 #E66952 #CFE652
monochromatic
#1849A6 #2060DB #5285E6 #87ABEE #BDD0F5

Accessibility & contrast

On white

3.59
#5285E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#5285E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5285E6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5285E6#FFFFFF#000000##000000
##5285E61.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#588FEA
Deuteranopia (green-blind)
#4181E4
Tritanopia (blue-blind)
#009BAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5285e6;
/* rgb */ color: rgb(82, 133, 230);
/* oklch */ color: oklch(62.8% 0.156 262.0);
Tailwind
colors: {
  custom: {
    50: '#90a8ee',
    500: '#5285e6',
    950: '#000000',
  },
}
SCSS
$custom: #5285e6;
$custom-light: #90a8ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5285e6",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 230
  },
  "hsl": {
    "h": 219.324,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62812,
    "c": 0.15642,
    "h": 262
  },
  "luminance": 0.24282
}

Semantic roles & 50–950 ramp

primary
#5285E6
secondary
#E6D3AE
accent
#920FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5285E6

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

Preview Lab → · Contrast checker → · Palette generator →

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