#5A8EF6#5A8EF6

#5A8EF6 is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.0% C 0.165 H 262.7°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5A8EF6
RGBrgb(90, 142, 246)
HSLhsl(220, 90%, 66%)
HSVhsv(220, 63%, 96%)
CMYKcmyk(63.4%, 42.3%, 0%, 3.5%)
CIE-LABlab(60.04, 14.61, -57.28)
CIE-LCHlch(60.04, 59.12, 284.31°)
OKLaboklab(66.03% -0.0209 -0.1634)
OKLCHoklch(66.03% 0.165 262.7)
XYZxyz(30.5182, 28.1706, 91.0001)
Luminance0.2817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8EF6 #F6C25A
analogous
#5ADCF6 #5A8EF6 #745AF6
triadic
#5A8EF6 #F65A8E #8EF65A
tetradic
#5A8EF6 #F65ADC #F6C25A #5AF674
square
#5A8EF6 #F65ADC #F6C25A #5AF674
split-complementary
#5A8EF6 #F6745A #DCF65A
monochromatic
#0B4BCB #2066F3 #5A8EF6 #94B6F9 #CEDDFC

Accessibility & contrast

On white

3.17
#5A8EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#5A8EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8EF6
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8EF6#FFFFFF#000000##000000
##5A8EF61.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E98FA
Deuteranopia (green-blind)
#458AF4
Tritanopia (blue-blind)
#00A6B6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5a8ef6;
/* rgb */ color: rgb(90, 142, 246);
/* oklch */ color: oklch(66.0% 0.165 262.7);
Tailwind
colors: {
  custom: {
    50: '#96aefa',
    500: '#5a8ef6',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ef6;
$custom-light: #96aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ef6",
  "rgb": {
    "r": 90,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 220,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66032,
    "c": 0.16472,
    "h": 262.7
  },
  "luminance": 0.28173
}

Semantic roles & 50–950 ramp

primary
#5A8EF6
secondary
#F0DEBC
accent
#9900E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5A8EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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