#5A86C8#5A86C8

#5A86C8 is a mid, moderate blue. Relative luminance 0.234; OKLCH L 61.7% C 0.112 H 258.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5A86C8
RGBrgb(90, 134, 200)
HSLhsl(216, 50%, 57%)
HSVhsv(216, 55%, 78%)
CMYKcmyk(55%, 33%, 0%, 21.6%)
CIE-LABlab(55.47, 4.24, -38.83)
CIE-LCHlch(55.47, 39.06, 276.23°)
OKLaboklab(61.72% -0.0227 -0.1095)
OKLCHoklch(61.72% 0.112 258.3)
XYZxyz(23.1633, 23.3921, 57.9269)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86C8 #C89C5A
analogous
#5ABDC8 #5A86C8 #655AC8
triadic
#5A86C8 #C85A86 #86C85A
tetradic
#5A86C8 #C85ABD #C89C5A #5AC865
square
#5A86C8 #C85ABD #C89C5A #5AC865
split-complementary
#5A86C8 #C8655A #BDC85A
monochromatic
#2A4B7E #3967AC #5A86C8 #88A8D7 #B6C9E7

Accessibility & contrast

On white

3.70
#5A86C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#5A86C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86C8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86C8#FFFFFF#000000##000000
##5A86C81.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8BCB
Deuteranopia (green-blind)
#5E80C7
Tritanopia (blue-blind)
#14959E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a86c8;
/* rgb */ color: rgb(90, 134, 200);
/* oklch */ color: oklch(61.7% 0.112 258.3);
Tailwind
colors: {
  custom: {
    50: '#90a8d9',
    500: '#5a86c8',
    950: '#000000',
  },
}
SCSS
$custom: #5a86c8;
$custom-light: #90a8d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86c8",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 200
  },
  "hsl": {
    "h": 216,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61717,
    "c": 0.11183,
    "h": 258.3
  },
  "luminance": 0.23394
}

Semantic roles & 50–950 ramp

primary
#5A86C8
secondary
#D5C3A8
accent
#A24EDA
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5A86C8

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

Preview Lab → · Contrast checker → · Palette generator →

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