#5A86F6#5A86F6

#5A86F6 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.4% C 0.174 H 265.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5A86F6
RGBrgb(90, 134, 246)
HSLhsl(223, 90%, 66%)
HSVhsv(223, 63%, 96%)
CMYKcmyk(63.4%, 45.5%, 0%, 3.5%)
CIE-LABlab(57.92, 19.42, -60.68)
CIE-LCHlch(57.92, 63.71, 287.75°)
OKLaboklab(64.4% -0.0132 -0.1735)
OKLCHoklch(64.4% 0.174 265.6)
XYZxyz(29.3703, 25.8750, 90.6175)
Luminance0.2588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86F6 #F6CA5A
analogous
#5AD4F6 #5A86F6 #7C5AF6
triadic
#5A86F6 #F65A86 #86F65A
tetradic
#5A86F6 #F65AD4 #F6CA5A #5AF67C
square
#5A86F6 #F65AD4 #F6CA5A #5AF67C
split-complementary
#5A86F6 #F67C5A #D4F65A
monochromatic
#0B41CB #205BF3 #5A86F6 #94B1F9 #CEDBFC

Accessibility & contrast

On white

3.40
#5A86F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5A86F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86F6
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86F6#FFFFFF#000000##000000
##5A86F61.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F93FA
Deuteranopia (green-blind)
#3385F4
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a86f6;
/* rgb */ color: rgb(90, 134, 246);
/* oklch */ color: oklch(64.4% 0.174 265.6);
Tailwind
colors: {
  custom: {
    50: '#97a8fa',
    500: '#5a86f6',
    950: '#000000',
  },
}
SCSS
$custom: #5a86f6;
$custom-light: #97a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86f6",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 246
  },
  "hsl": {
    "h": 223.077,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.644,
    "c": 0.17399,
    "h": 265.6
  },
  "luminance": 0.25878
}

Semantic roles & 50–950 ramp

primary
#5A86F6
secondary
#F0E1BC
accent
#A500E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5A86F6

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

Preview Lab → · Contrast checker → · Palette generator →

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