#5286E2#5286E2

#5286E2 is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.8% C 0.150 H 261.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5286E2
RGBrgb(82, 134, 226)
HSLhsl(218, 71%, 60%)
HSVhsv(218, 64%, 89%)
CMYKcmyk(63.7%, 40.7%, 0%, 11.4%)
CIE-LABlab(56.42, 11.28, -51.99)
CIE-LCHlch(56.42, 53.20, 282.25°)
OKLaboklab(62.78% -0.0235 -0.1481)
OKLCHoklch(62.78% 0.15 261)
XYZxyz(25.7274, 24.3326, 75.2776)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5286E2 #E2AE52
analogous
#52CEE2 #5286E2 #6652E2
triadic
#5286E2 #E25286 #86E252
tetradic
#5286E2 #E252CE #E2AE52 #52E266
square
#5286E2 #E252CE #E2AE52 #52E266
split-complementary
#5286E2 #E26652 #CEE252
monochromatic
#1B4A9F #2363D3 #5286E2 #86ABEB #BBCFF4

Accessibility & contrast

On white

3.58
#5286E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#5286E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5286E2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5286E2#FFFFFF#000000##000000
##5286E21.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8EE6
Deuteranopia (green-blind)
#4781E0
Tritanopia (blue-blind)
#009BA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5286e2;
/* rgb */ color: rgb(82, 134, 226);
/* oklch */ color: oklch(62.8% 0.150 261.0);
Tailwind
colors: {
  custom: {
    50: '#90a8eb',
    500: '#5286e2',
    950: '#000000',
  },
}
SCSS
$custom: #5286e2;
$custom-light: #90a8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5286e2",
  "rgb": {
    "r": 82,
    "g": 134,
    "b": 226
  },
  "hsl": {
    "h": 218.333,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62781,
    "c": 0.14995,
    "h": 261
  },
  "luminance": 0.24335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5286E2

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

Preview Lab → · Contrast checker → · Palette generator →

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