#5A86CF#5A86CF

#5A86CF is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.1% C 0.121 H 260.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5A86CF
RGBrgb(90, 134, 207)
HSLhsl(217, 55%, 58%)
HSVhsv(217, 57%, 81%)
CMYKcmyk(56.5%, 35.3%, 0%, 18.8%)
CIE-LABlab(55.81, 6.49, -42.25)
CIE-LCHlch(55.81, 42.75, 278.73°)
OKLaboklab(62.09% -0.0209 -0.1195)
OKLCHoklch(62.09% 0.121 260.1)
XYZxyz(24.0001, 23.7269, 62.3344)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86CF #CFA35A
analogous
#5AC0CF #5A86CF #685ACF
triadic
#5A86CF #CF5A86 #86CF5A
tetradic
#5A86CF #CF5AC0 #CFA35A #5ACF68
square
#5A86CF #CF5AC0 #CFA35A #5ACF68
split-complementary
#5A86CF #CF685A #C0CF5A
monochromatic
#274B87 #3566B7 #5A86CF #89A9DD #B9CCEB

Accessibility & contrast

On white

3.65
#5A86CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#5A86CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86CF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86CF#FFFFFF#000000##000000
##5A86CF1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#688CD2
Deuteranopia (green-blind)
#5981CD
Tritanopia (blue-blind)
#0096A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5a86cf;
/* rgb */ color: rgb(90, 134, 207);
/* oklch */ color: oklch(62.1% 0.121 260.1);
Tailwind
colors: {
  custom: {
    50: '#91a8de',
    500: '#5a86cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a86cf;
$custom-light: #91a8de;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86cf",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 207
  },
  "hsl": {
    "h": 217.436,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62092,
    "c": 0.1213,
    "h": 260.1
  },
  "luminance": 0.23729
}

Semantic roles & 50–950 ramp

primary
#5A86CF
secondary
#DAC8AB
accent
#A64ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5A86CF

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

Preview Lab → · Contrast checker → · Palette generator →

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