#5285E2#5285E2

#5285E2 is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.6% C 0.151 H 261.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5285E2
RGBrgb(82, 133, 226)
HSLhsl(219, 71%, 60%)
HSVhsv(219, 64%, 89%)
CMYKcmyk(63.7%, 41.2%, 0%, 11.4%)
CIE-LABlab(56.15, 11.89, -52.42)
CIE-LCHlch(56.15, 53.75, 282.78°)
OKLaboklab(62.57% -0.0225 -0.1494)
OKLCHoklch(62.57% 0.151 261.4)
XYZxyz(25.5898, 24.0575, 75.2317)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5285E2 #E2AF52
analogous
#52CDE2 #5285E2 #6752E2
triadic
#5285E2 #E25285 #85E252
tetradic
#5285E2 #E252CD #E2AF52 #52E267
square
#5285E2 #E252CD #E2AF52 #52E267
split-complementary
#5285E2 #E26752 #CDE252
monochromatic
#1B4A9F #2362D3 #5285E2 #86AAEB #BBCFF4

Accessibility & contrast

On white

3.61
#5285E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#5285E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5285E2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5285E2#FFFFFF#000000##000000
##5285E21.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8EE6
Deuteranopia (green-blind)
#4580E0
Tritanopia (blue-blind)
#009AA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5285e2;
/* rgb */ color: rgb(82, 133, 226);
/* oklch */ color: oklch(62.6% 0.151 261.4);
Tailwind
colors: {
  custom: {
    50: '#90a8eb',
    500: '#5285e2',
    950: '#000000',
  },
}
SCSS
$custom: #5285e2;
$custom-light: #90a8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5285e2",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 226
  },
  "hsl": {
    "h": 218.75,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62569,
    "c": 0.15107,
    "h": 261.4
  },
  "luminance": 0.2406
}

Semantic roles & 50–950 ramp

primary
#5285E2
secondary
#E3D0AC
accent
#8F12D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5285E2

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

Preview Lab → · Contrast checker → · Palette generator →

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