#5A86EC#5A86EC

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

Color values

HEX#5A86EC
RGBrgb(90, 134, 236)
HSLhsl(222, 79%, 64%)
HSVhsv(222, 62%, 93%)
CMYKcmyk(61.9%, 43.2%, 0%, 7.5%)
CIE-LABlab(57.34, 16.06, -56.06)
CIE-LCHlch(57.34, 58.31, 285.99°)
OKLaboklab(63.78% -0.0148 -0.1599)
OKLCHoklch(63.78% 0.161 264.7)
XYZxyz(27.8766, 25.2775, 82.7506)
Luminance0.2528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86EC #ECC05A
analogous
#5ACFEC #5A86EC #775AEC
triadic
#5A86EC #EC5A86 #86EC5A
tetradic
#5A86EC #EC5ACF #ECC05A #5AEC77
square
#5A86EC #EC5ACF #ECC05A #5AEC77
split-complementary
#5A86EC #EC775A #CFEC5A
monochromatic
#1546B7 #235EE6 #5A86EC #91AEF2 #C8D6F9

Accessibility & contrast

On white

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

On black

6.06
#5A86EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86EC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86EC#FFFFFF#000000##000000
##5A86EC1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#4083EA
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a86ec;
/* rgb */ color: rgb(90, 134, 236);
/* oklch */ color: oklch(63.8% 0.161 264.7);
Tailwind
colors: {
  custom: {
    50: '#95a8f3',
    500: '#5a86ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a86ec;
$custom-light: #95a8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86ec",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 221.918,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63775,
    "c": 0.16059,
    "h": 264.7
  },
  "luminance": 0.2528
}

Semantic roles & 50–950 ramp

primary
#5A86EC
secondary
#EBDBB7
accent
#9C0ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A86EC

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

Preview Lab → · Contrast checker → · Palette generator →

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