#5A86EE#5A86EE

#5A86EE is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.9% C 0.163 H 264.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5A86EE
RGBrgb(90, 134, 238)
HSLhsl(222, 81%, 64%)
HSVhsv(222, 62%, 93%)
CMYKcmyk(62.2%, 43.7%, 0%, 6.7%)
CIE-LABlab(57.46, 16.73, -56.99)
CIE-LCHlch(57.46, 59.39, 286.36°)
OKLaboklab(63.9% -0.0145 -0.1626)
OKLCHoklch(63.9% 0.163 264.9)
XYZxyz(28.1688, 25.3944, 84.2895)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86EE #EEC25A
analogous
#5AD0EE #5A86EE #785AEE
triadic
#5A86EE #EE5A86 #86EE5A
tetradic
#5A86EE #EE5AD0 #EEC25A #5AEE78
square
#5A86EE #EE5AD0 #EEC25A #5AEE78
split-complementary
#5A86EE #EE785A #D0EE5A
monochromatic
#1345BA #235DE8 #5A86EE #91AFF4 #C9D7F9

Accessibility & contrast

On white

3.45
#5A86EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#5A86EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86EE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86EE#FFFFFF#000000##000000
##5A86EE1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F2
Deuteranopia (green-blind)
#3E84EC
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a86ee;
/* rgb */ color: rgb(90, 134, 238);
/* oklch */ color: oklch(63.9% 0.163 264.9);
Tailwind
colors: {
  custom: {
    50: '#95a8f4',
    500: '#5a86ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a86ee;
$custom-light: #95a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86ee",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 238
  },
  "hsl": {
    "h": 222.162,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63898,
    "c": 0.16328,
    "h": 264.9
  },
  "luminance": 0.25397
}

Semantic roles & 50–950 ramp

primary
#5A86EE
secondary
#ECDCB8
accent
#9E08DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A86EE

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

Preview Lab → · Contrast checker → · Palette generator →

#5A86EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva