#5A86D9#5A86D9

#5A86D9 is a light, vivid blue. Relative luminance 0.242; OKLCH L 62.6% C 0.135 H 262.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5A86D9
RGBrgb(90, 134, 217)
HSLhsl(219, 63%, 60%)
HSVhsv(219, 59%, 85%)
CMYKcmyk(58.5%, 38.2%, 0%, 14.9%)
CIE-LABlab(56.32, 9.75, -47.08)
CIE-LCHlch(56.32, 48.08, 281.70°)
OKLaboklab(62.65% -0.0186 -0.1336)
OKLCHoklch(62.65% 0.135 262.1)
XYZxyz(25.2616, 24.2315, 68.9781)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86D9 #D9AD5A
analogous
#5AC5D9 #5A86D9 #6E5AD9
triadic
#5A86D9 #D95A86 #86D95A
tetradic
#5A86D9 #D95AC5 #D9AD5A #5AD96E
square
#5A86D9 #D95AC5 #D9AD5A #5AD96E
split-complementary
#5A86D9 #D96E5A #C5D95A
monochromatic
#234B96 #2E63C8 #5A86D9 #8CAAE4 #BDCFF0

Accessibility & contrast

On white

3.59
#5A86D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#5A86D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86D9
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86D9#FFFFFF#000000##000000
##5A86D91.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#638DDC
Deuteranopia (green-blind)
#5282D7
Tritanopia (blue-blind)
#0099A5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a86d9;
/* rgb */ color: rgb(90, 134, 217);
/* oklch */ color: oklch(62.6% 0.135 262.1);
Tailwind
colors: {
  custom: {
    50: '#92a8e5',
    500: '#5a86d9',
    950: '#000000',
  },
}
SCSS
$custom: #5a86d9;
$custom-light: #92a8e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86d9",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 217
  },
  "hsl": {
    "h": 219.213,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6265,
    "c": 0.13486,
    "h": 262.1
  },
  "luminance": 0.24234
}

Semantic roles & 50–950 ramp

primary
#5A86D9
secondary
#E0CFAF
accent
#8E1BCA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5A86D9

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

Preview Lab → · Contrast checker → · Palette generator →

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