#5A86CB#5A86CB

#5A86CB is a mid, moderate blue. Relative luminance 0.235; OKLCH L 61.9% C 0.116 H 259.1°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5A86CB
RGBrgb(90, 134, 203)
HSLhsl(217, 52%, 57%)
HSVhsv(217, 56%, 80%)
CMYKcmyk(55.7%, 34%, 0%, 20.4%)
CIE-LABlab(55.62, 5.20, -40.30)
CIE-LCHlch(55.62, 40.63, 277.35°)
OKLaboklab(61.88% -0.0219 -0.1138)
OKLCHoklch(61.88% 0.116 259.1)
XYZxyz(23.5173, 23.5338, 59.7915)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86CB #CB9F5A
analogous
#5ABFCB #5A86CB #665ACB
triadic
#5A86CB #CB5A86 #86CB5A
tetradic
#5A86CB #CB5ABF #CB9F5A #5ACB66
square
#5A86CB #CB5ABF #CB9F5A #5ACB66
split-complementary
#5A86CB #CB665A #BFCB5A
monochromatic
#294B82 #3867B0 #5A86CB #89A8DA #B7CAE8

Accessibility & contrast

On white

3.68
#5A86CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#5A86CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86CB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86CB#FFFFFF#000000##000000
##5A86CB1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCE
Deuteranopia (green-blind)
#5C80CA
Tritanopia (blue-blind)
#0B959F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a86cb;
/* rgb */ color: rgb(90, 134, 203);
/* oklch */ color: oklch(61.9% 0.116 259.1);
Tailwind
colors: {
  custom: {
    50: '#90a8db',
    500: '#5a86cb',
    950: '#000000',
  },
}
SCSS
$custom: #5a86cb;
$custom-light: #90a8db;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86cb",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 203
  },
  "hsl": {
    "h": 216.637,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61876,
    "c": 0.11587,
    "h": 259.1
  },
  "luminance": 0.23536
}

Semantic roles & 50–950 ramp

primary
#5A86CB
secondary
#D7C5AA
accent
#A44CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5A86CB

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

Preview Lab → · Contrast checker → · Palette generator →

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