#5A86EB#5A86EB

#5A86EB is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.7% C 0.159 H 264.6°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5A86EB
RGBrgb(90, 134, 235)
HSLhsl(222, 78%, 64%)
HSVhsv(222, 62%, 92%)
CMYKcmyk(61.7%, 43%, 0%, 7.8%)
CIE-LABlab(57.29, 15.73, -55.59)
CIE-LCHlch(57.29, 57.78, 285.80°)
OKLaboklab(63.71% -0.015 -0.1585)
OKLCHoklch(63.71% 0.159 264.6)
XYZxyz(27.7318, 25.2195, 81.9876)
Luminance0.2522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86EB #EBBF5A
analogous
#5ACEEB #5A86EB #765AEB
triadic
#5A86EB #EB5A86 #86EB5A
tetradic
#5A86EB #EB5ACE #EBBF5A #5AEB76
square
#5A86EB #EB5ACE #EBBF5A #5AEB76
split-complementary
#5A86EB #EB765A #CEEB5A
monochromatic
#1646B5 #235EE4 #5A86EB #91AEF2 #C7D6F8

Accessibility & contrast

On white

3.47
#5A86EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#5A86EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86EB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86EB#FFFFFF#000000##000000
##5A86EB1.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791EF
Deuteranopia (green-blind)
#4183E9
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a86eb;
/* rgb */ color: rgb(90, 134, 235);
/* oklch */ color: oklch(63.7% 0.159 264.6);
Tailwind
colors: {
  custom: {
    50: '#95a8f2',
    500: '#5a86eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a86eb;
$custom-light: #95a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86eb",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 221.793,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63714,
    "c": 0.15924,
    "h": 264.6
  },
  "luminance": 0.25222
}

Semantic roles & 50–950 ramp

primary
#5A86EB
secondary
#EADAB7
accent
#9C0BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A86EB

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

Preview Lab → · Contrast checker → · Palette generator →

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