#5A86CD#5A86CD

#5A86CD is a mid, moderate blue. Relative luminance 0.236; OKLCH L 62.0% C 0.119 H 259.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5A86CD
RGBrgb(90, 134, 205)
HSLhsl(217, 53%, 58%)
HSVhsv(217, 56%, 80%)
CMYKcmyk(56.1%, 34.6%, 0%, 19.6%)
CIE-LABlab(55.72, 5.84, -41.28)
CIE-LCHlch(55.72, 41.69, 278.06°)
OKLaboklab(61.98% -0.0214 -0.1166)
OKLCHoklch(61.98% 0.119 259.6)
XYZxyz(23.7572, 23.6297, 61.0548)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86CD #CDA15A
analogous
#5AC0CD #5A86CD #675ACD
triadic
#5A86CD #CD5A86 #86CD5A
tetradic
#5A86CD #CD5AC0 #CDA15A #5ACD67
square
#5A86CD #CD5AC0 #CDA15A #5ACD67
split-complementary
#5A86CD #CD675A #C0CD5A
monochromatic
#284B84 #3666B3 #5A86CD #89A8DB #B8CBE9

Accessibility & contrast

On white

3.67
#5A86CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#5A86CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86CD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86CD#FFFFFF#000000##000000
##5A86CD1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BD0
Deuteranopia (green-blind)
#5B81CC
Tritanopia (blue-blind)
#0396A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a86cd;
/* rgb */ color: rgb(90, 134, 205);
/* oklch */ color: oklch(62.0% 0.119 259.6);
Tailwind
colors: {
  custom: {
    50: '#91a8dc',
    500: '#5a86cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a86cd;
$custom-light: #91a8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86cd",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 205
  },
  "hsl": {
    "h": 217.043,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61984,
    "c": 0.11858,
    "h": 259.6
  },
  "luminance": 0.23632
}

Semantic roles & 50–950 ramp

primary
#5A86CD
secondary
#D8C7AA
accent
#A54BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5A86CD

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

Preview Lab → · Contrast checker → · Palette generator →

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