#5A8BF6#5A8BF6

#5A8BF6 is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.4% C 0.168 H 263.9°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5A8BF6
RGBrgb(90, 139, 246)
HSLhsl(221, 90%, 66%)
HSVhsv(221, 63%, 96%)
CMYKcmyk(63.4%, 43.5%, 0%, 3.5%)
CIE-LABlab(59.24, 16.41, -58.56)
CIE-LCHlch(59.24, 60.82, 285.65°)
OKLaboklab(65.42% -0.018 -0.1672)
OKLCHoklch(65.42% 0.168 263.9)
XYZxyz(30.0778, 27.2899, 90.8533)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8BF6 #F6C55A
analogous
#5AD9F6 #5A8BF6 #775AF6
triadic
#5A8BF6 #F65A8B #8BF65A
tetradic
#5A8BF6 #F65AD9 #F6C55A #5AF677
square
#5A8BF6 #F65AD9 #F6C55A #5AF677
split-complementary
#5A8BF6 #F6775A #D9F65A
monochromatic
#0B47CB #2062F3 #5A8BF6 #94B4F9 #CEDDFC

Accessibility & contrast

On white

3.25
#5A8BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#5A8BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8BF6
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8BF6#FFFFFF#000000##000000
##5A8BF61.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896FA
Deuteranopia (green-blind)
#3F88F4
Tritanopia (blue-blind)
#00A3B4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5a8bf6;
/* rgb */ color: rgb(90, 139, 246);
/* oklch */ color: oklch(65.4% 0.168 263.9);
Tailwind
colors: {
  custom: {
    50: '#96acfa',
    500: '#5a8bf6',
    950: '#000000',
  },
}
SCSS
$custom: #5a8bf6;
$custom-light: #96acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8bf6",
  "rgb": {
    "r": 90,
    "g": 139,
    "b": 246
  },
  "hsl": {
    "h": 221.154,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65416,
    "c": 0.16816,
    "h": 263.9
  },
  "luminance": 0.27293
}

Semantic roles & 50–950 ramp

primary
#5A8BF6
secondary
#F0DFBC
accent
#9D00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5A8BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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