#5A86F3#5A86F3

#5A86F3 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.2% C 0.170 H 265.4°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5A86F3
RGBrgb(90, 134, 243)
HSLhsl(223, 86%, 65%)
HSVhsv(223, 63%, 95%)
CMYKcmyk(63%, 44.9%, 0%, 4.7%)
CIE-LABlab(57.74, 18.41, -59.30)
CIE-LCHlch(57.74, 62.09, 287.25°)
OKLaboklab(64.21% -0.0137 -0.1694)
OKLCHoklch(64.21% 0.17 265.4)
XYZxyz(28.9136, 25.6923, 88.2120)
Luminance0.2570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86F3 #F3C75A
analogous
#5AD3F3 #5A86F3 #7A5AF3
triadic
#5A86F3 #F35A86 #86F35A
tetradic
#5A86F3 #F35AD3 #F3C75A #5AF37A
square
#5A86F3 #F35AD3 #F3C75A #5AF37A
split-complementary
#5A86F3 #F37A5A #D3F35A
monochromatic
#0E43C4 #215CEF #5A86F3 #93B0F7 #CCDAFB

Accessibility & contrast

On white

3.42
#5A86F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#5A86F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86F3
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86F3#FFFFFF#000000##000000
##5A86F31.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F7
Deuteranopia (green-blind)
#3784F1
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a86f3;
/* rgb */ color: rgb(90, 134, 243);
/* oklch */ color: oklch(64.2% 0.170 265.4);
Tailwind
colors: {
  custom: {
    50: '#96a8f8',
    500: '#5a86f3',
    950: '#000000',
  },
}
SCSS
$custom: #5a86f3;
$custom-light: #96a8f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86f3",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 243
  },
  "hsl": {
    "h": 222.745,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6421,
    "c": 0.16998,
    "h": 265.4
  },
  "luminance": 0.25695
}

Semantic roles & 50–950 ramp

primary
#5A86F3
secondary
#EEDFBB
accent
#A203E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5A86F3

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

Preview Lab → · Contrast checker → · Palette generator →

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