#5A86F2#5A86F2

#5A86F2 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.1% C 0.169 H 265.3°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5A86F2
RGBrgb(90, 134, 242)
HSLhsl(223, 85%, 65%)
HSVhsv(223, 63%, 95%)
CMYKcmyk(62.8%, 44.6%, 0%, 5.1%)
CIE-LABlab(57.69, 18.08, -58.84)
CIE-LCHlch(57.69, 61.55, 287.08°)
OKLaboklab(64.15% -0.0139 -0.1681)
OKLCHoklch(64.15% 0.169 265.3)
XYZxyz(28.7630, 25.6320, 87.4189)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86F2 #F2C65A
analogous
#5AD2F2 #5A86F2 #7A5AF2
triadic
#5A86F2 #F25A86 #86F25A
tetradic
#5A86F2 #F25AD2 #F2C65A #5AF27A
square
#5A86F2 #F25AD2 #F2C65A #5AF27A
split-complementary
#5A86F2 #F27A5A #D2F25A
monochromatic
#0F43C2 #215CEE #5A86F2 #93B0F6 #CBD9FB

Accessibility & contrast

On white

3.43
#5A86F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#5A86F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86F2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86F2#FFFFFF#000000##000000
##5A86F21.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#3984F0
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a86f2;
/* rgb */ color: rgb(90, 134, 242);
/* oklch */ color: oklch(64.1% 0.169 265.3);
Tailwind
colors: {
  custom: {
    50: '#96a8f7',
    500: '#5a86f2',
    950: '#000000',
  },
}
SCSS
$custom: #5a86f2;
$custom-light: #96a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86f2",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 222.632,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64147,
    "c": 0.16864,
    "h": 265.3
  },
  "luminance": 0.25635
}

Semantic roles & 50–950 ramp

primary
#5A86F2
secondary
#EEDFBA
accent
#A204E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5A86F2

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

Preview Lab → · Contrast checker → · Palette generator →

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