#5A86F1#5A86F1

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

Color values

HEX#5A86F1
RGBrgb(90, 134, 241)
HSLhsl(223, 84%, 65%)
HSVhsv(223, 63%, 95%)
CMYKcmyk(62.7%, 44.4%, 0%, 5.5%)
CIE-LABlab(57.63, 17.74, -58.38)
CIE-LCHlch(57.63, 61.01, 286.90°)
OKLaboklab(64.09% -0.014 -0.1667)
OKLCHoklch(64.09% 0.167 265.2)
XYZxyz(28.6132, 25.5721, 86.6301)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86F1 #F1C55A
analogous
#5AD1F1 #5A86F1 #7A5AF1
triadic
#5A86F1 #F15A86 #86F15A
tetradic
#5A86F1 #F15AD1 #F1C55A #5AF17A
square
#5A86F1 #F15AD1 #F1C55A #5AF17A
split-complementary
#5A86F1 #F17A5A #D1F15A
monochromatic
#1044C0 #225DEC #5A86F1 #92AFF6 #CBD9FB

Accessibility & contrast

On white

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

On black

6.11
#5A86F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86F1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86F1#FFFFFF#000000##000000
##5A86F11.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F5
Deuteranopia (green-blind)
#3A84EF
Tritanopia (blue-blind)
#009EB0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a86f1;
/* rgb */ color: rgb(90, 134, 241);
/* oklch */ color: oklch(64.1% 0.167 265.2);
Tailwind
colors: {
  custom: {
    50: '#96a8f6',
    500: '#5a86f1',
    950: '#000000',
  },
}
SCSS
$custom: #5a86f1;
$custom-light: #96a8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86f1",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 241
  },
  "hsl": {
    "h": 222.517,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64085,
    "c": 0.1673,
    "h": 265.2
  },
  "luminance": 0.25575
}

Semantic roles & 50–950 ramp

primary
#5A86F1
secondary
#EDDEBA
accent
#A105E1
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5A86F1

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

Preview Lab → · Contrast checker → · Palette generator →

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