#5A86EF#5A86EF

#5A86EF is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.0% C 0.165 H 265.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5A86EF
RGBrgb(90, 134, 239)
HSLhsl(222, 82%, 65%)
HSVhsv(222, 62%, 94%)
CMYKcmyk(62.3%, 43.9%, 0%, 6.3%)
CIE-LABlab(57.51, 17.07, -57.45)
CIE-LCHlch(57.51, 59.93, 286.54°)
OKLaboklab(63.96% -0.0143 -0.164)
OKLCHoklch(63.96% 0.165 265)
XYZxyz(28.3161, 25.4533, 85.0654)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86EF #EFC35A
analogous
#5AD0EF #5A86EF #795AEF
triadic
#5A86EF #EF5A86 #86EF5A
tetradic
#5A86EF #EF5AD0 #EFC35A #5AEF79
square
#5A86EF #EF5AD0 #EFC35A #5AEF79
split-complementary
#5A86EF #EF795A #D0EF5A
monochromatic
#1244BC #225DEA #5A86EF #92AFF4 #CAD8FA

Accessibility & contrast

On white

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

On black

6.09
#5A86EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86EF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86EF#FFFFFF#000000##000000
##5A86EF1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F3
Deuteranopia (green-blind)
#3D84ED
Tritanopia (blue-blind)
#009EAF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a86ef;
/* rgb */ color: rgb(90, 134, 239);
/* oklch */ color: oklch(64.0% 0.165 265.0);
Tailwind
colors: {
  custom: {
    50: '#96a8f5',
    500: '#5a86ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a86ef;
$custom-light: #96a8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86ef",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 222.282,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6396,
    "c": 0.16463,
    "h": 265
  },
  "luminance": 0.25456
}

Semantic roles & 50–950 ramp

primary
#5A86EF
secondary
#ECDDB9
accent
#9F07DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A86EF

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

Preview Lab → · Contrast checker → · Palette generator →

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