#5A86ED#5A86ED

#5A86ED is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.8% C 0.162 H 264.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5A86ED
RGBrgb(90, 134, 237)
HSLhsl(222, 80%, 64%)
HSVhsv(222, 62%, 93%)
CMYKcmyk(62%, 43.5%, 0%, 7.1%)
CIE-LABlab(57.40, 16.40, -56.52)
CIE-LCHlch(57.40, 58.85, 286.18°)
OKLaboklab(63.84% -0.0147 -0.1613)
OKLCHoklch(63.84% 0.162 264.8)
XYZxyz(28.0223, 25.3358, 83.5179)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86ED #EDC15A
analogous
#5AD0ED #5A86ED #785AED
triadic
#5A86ED #ED5A86 #86ED5A
tetradic
#5A86ED #ED5AD0 #EDC15A #5AED78
square
#5A86ED #ED5AD0 #EDC15A #5AED78
split-complementary
#5A86ED #ED785A #D0ED5A
monochromatic
#1445B8 #235EE7 #5A86ED #91AEF3 #C8D7F9

Accessibility & contrast

On white

3.46
#5A86ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#5A86ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86ED
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86ED#FFFFFF#000000##000000
##5A86ED1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F1
Deuteranopia (green-blind)
#3F84EB
Tritanopia (blue-blind)
#009DAE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a86ed;
/* rgb */ color: rgb(90, 134, 237);
/* oklch */ color: oklch(63.8% 0.162 264.8);
Tailwind
colors: {
  custom: {
    50: '#95a8f3',
    500: '#5a86ed',
    950: '#000000',
  },
}
SCSS
$custom: #5a86ed;
$custom-light: #95a8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86ed",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 237
  },
  "hsl": {
    "h": 222.041,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63837,
    "c": 0.16194,
    "h": 264.8
  },
  "luminance": 0.25338
}

Semantic roles & 50–950 ramp

primary
#5A86ED
secondary
#EBDCB8
accent
#9D09DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A86ED

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

Preview Lab → · Contrast checker → · Palette generator →

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