#5A86CA#5A86CA

#5A86CA is a mid, moderate blue. Relative luminance 0.235; OKLCH L 61.8% C 0.115 H 258.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5A86CA
RGBrgb(90, 134, 202)
HSLhsl(216, 51%, 57%)
HSVhsv(216, 55%, 79%)
CMYKcmyk(55.4%, 33.7%, 0%, 20.8%)
CIE-LABlab(55.57, 4.88, -39.81)
CIE-LCHlch(55.57, 40.11, 276.98°)
OKLaboklab(61.82% -0.0222 -0.1124)
OKLCHoklch(61.82% 0.115 258.8)
XYZxyz(23.3985, 23.4863, 59.1659)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86CA #CA9E5A
analogous
#5ABECA #5A86CA #665ACA
triadic
#5A86CA #CA5A86 #86CA5A
tetradic
#5A86CA #CA5ABE #CA9E5A #5ACA66
square
#5A86CA #CA5ABE #CA9E5A #5ACA66
split-complementary
#5A86CA #CA665A #BECA5A
monochromatic
#294B80 #3867AF #5A86CA #88A8D9 #B7CAE8

Accessibility & contrast

On white

3.69
#5A86CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#5A86CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86CA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86CA#FFFFFF#000000##000000
##5A86CA1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCD
Deuteranopia (green-blind)
#5C80C9
Tritanopia (blue-blind)
#0E959F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a86ca;
/* rgb */ color: rgb(90, 134, 202);
/* oklch */ color: oklch(61.8% 0.115 258.8);
Tailwind
colors: {
  custom: {
    50: '#90a8da',
    500: '#5a86ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a86ca;
$custom-light: #90a8da;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86ca",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 202
  },
  "hsl": {
    "h": 216.429,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61823,
    "c": 0.11453,
    "h": 258.8
  },
  "luminance": 0.23488
}

Semantic roles & 50–950 ramp

primary
#5A86CA
secondary
#D7C5A9
accent
#A34DDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5A86CA

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

Preview Lab → · Contrast checker → · Palette generator →

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