#5A86F7#5A86F7

#5A86F7 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.5% C 0.175 H 265.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5A86F7
RGBrgb(90, 134, 247)
HSLhsl(223, 91%, 66%)
HSVhsv(223, 64%, 97%)
CMYKcmyk(63.6%, 45.7%, 0%, 3.1%)
CIE-LABlab(57.98, 19.76, -61.14)
CIE-LCHlch(57.98, 64.25, 287.91°)
OKLaboklab(64.46% -0.0131 -0.1748)
OKLCHoklch(64.46% 0.175 265.7)
XYZxyz(29.5242, 25.9365, 91.4280)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86F7 #F7CB5A
analogous
#5AD4F7 #5A86F7 #7C5AF7
triadic
#5A86F7 #F75A86 #86F75A
tetradic
#5A86F7 #F75AD4 #F7CB5A #5AF77C
square
#5A86F7 #F75AD4 #F7CB5A #5AF77C
split-complementary
#5A86F7 #F77C5A #D4F75A
monochromatic
#0A41CD #205BF4 #5A86F7 #94B1FA #CFDCFD

Accessibility & contrast

On white

3.39
#5A86F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#5A86F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86F7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86F7#FFFFFF#000000##000000
##5A86F71.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#3185F5
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a86f7;
/* rgb */ color: rgb(90, 134, 247);
/* oklch */ color: oklch(64.5% 0.175 265.7);
Tailwind
colors: {
  custom: {
    50: '#97a8fa',
    500: '#5a86f7',
    950: '#000000',
  },
}
SCSS
$custom: #5a86f7;
$custom-light: #97a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86f7",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 247
  },
  "hsl": {
    "h": 223.185,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64464,
    "c": 0.17532,
    "h": 265.7
  },
  "luminance": 0.25939
}

Semantic roles & 50–950 ramp

primary
#5A86F7
secondary
#F0E2BD
accent
#A500E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5A86F7

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

Preview Lab → · Contrast checker → · Palette generator →

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