#5A86CE#5A86CE

#5A86CE is a light, moderate blue. Relative luminance 0.237; OKLCH L 62.0% C 0.120 H 259.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5A86CE
RGBrgb(90, 134, 206)
HSLhsl(217, 54%, 58%)
HSVhsv(217, 56%, 81%)
CMYKcmyk(56.3%, 35%, 0%, 19.2%)
CIE-LABlab(55.76, 6.17, -41.76)
CIE-LCHlch(55.76, 42.22, 278.40°)
OKLaboklab(62.04% -0.0212 -0.118)
OKLCHoklch(62.04% 0.12 259.8)
XYZxyz(23.8783, 23.6781, 61.6926)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86CE #CEA25A
analogous
#5AC0CE #5A86CE #685ACE
triadic
#5A86CE #CE5A86 #86CE5A
tetradic
#5A86CE #CE5AC0 #CEA25A #5ACE68
square
#5A86CE #CE5AC0 #CEA25A #5ACE68
split-complementary
#5A86CE #CE685A #C0CE5A
monochromatic
#284B86 #3666B5 #5A86CE #89A9DC #B8CBEA

Accessibility & contrast

On white

3.66
#5A86CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#5A86CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86CE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86CE#FFFFFF#000000##000000
##5A86CE1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#698CD1
Deuteranopia (green-blind)
#5A81CC
Tritanopia (blue-blind)
#0096A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5a86ce;
/* rgb */ color: rgb(90, 134, 206);
/* oklch */ color: oklch(62.0% 0.120 259.8);
Tailwind
colors: {
  custom: {
    50: '#91a8dd',
    500: '#5a86ce',
    950: '#000000',
  },
}
SCSS
$custom: #5a86ce;
$custom-light: #91a8dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86ce",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 206
  },
  "hsl": {
    "h": 217.241,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62038,
    "c": 0.11993,
    "h": 259.8
  },
  "luminance": 0.2368
}

Semantic roles & 50–950 ramp

primary
#5A86CE
secondary
#D9C7AB
accent
#A64ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5A86CE

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

Preview Lab → · Contrast checker → · Palette generator →

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