#5A86E5#5A86E5

#5A86E5 is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.4% C 0.151 H 263.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5A86E5
RGBrgb(90, 134, 229)
HSLhsl(221, 73%, 63%)
HSVhsv(221, 61%, 90%)
CMYKcmyk(60.7%, 41.5%, 0%, 10.2%)
CIE-LABlab(56.96, 13.72, -52.78)
CIE-LCHlch(56.96, 54.54, 284.58°)
OKLaboklab(63.35% -0.0161 -0.1503)
OKLCHoklch(63.35% 0.151 263.9)
XYZxyz(26.8795, 24.8786, 77.4991)
Luminance0.2488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86E5 #E5B95A
analogous
#5ACCE5 #5A86E5 #735AE5
triadic
#5A86E5 #E55A86 #86E55A
tetradic
#5A86E5 #E55ACC #E5B95A #5AE573
square
#5A86E5 #E55ACC #E5B95A #5AE573
split-complementary
#5A86E5 #E5735A #CCE55A
monochromatic
#1B48AA #255FDD #5A86E5 #8FADED #C4D4F6

Accessibility & contrast

On white

3.51
#5A86E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#5A86E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86E5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86E5#FFFFFF#000000##000000
##5A86E51.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C90E9
Deuteranopia (green-blind)
#4883E3
Tritanopia (blue-blind)
#009BAA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a86e5;
/* rgb */ color: rgb(90, 134, 229);
/* oklch */ color: oklch(63.4% 0.151 263.9);
Tailwind
colors: {
  custom: {
    50: '#94a8ee',
    500: '#5a86e5',
    950: '#000000',
  },
}
SCSS
$custom: #5a86e5;
$custom-light: #94a8ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86e5",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 229
  },
  "hsl": {
    "h": 221.007,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63351,
    "c": 0.15114,
    "h": 263.9
  },
  "luminance": 0.24881
}

Semantic roles & 50–950 ramp

primary
#5A86E5
secondary
#E7D7B4
accent
#9711D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5A86E5

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

Preview Lab → · Contrast checker → · Palette generator →

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