#5A8CF6#5A8CF6

#5A8CF6 is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.6% C 0.167 H 263.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5A8CF6
RGBrgb(90, 140, 246)
HSLhsl(221, 90%, 66%)
HSVhsv(221, 63%, 96%)
CMYKcmyk(63.4%, 43.1%, 0%, 3.5%)
CIE-LABlab(59.51, 15.81, -58.14)
CIE-LCHlch(59.51, 60.25, 285.21°)
OKLaboklab(65.62% -0.019 -0.1659)
OKLCHoklch(65.62% 0.167 263.5)
XYZxyz(30.2233, 27.5808, 90.9018)
Luminance0.2758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8CF6 #F6C45A
analogous
#5ADAF6 #5A8CF6 #765AF6
triadic
#5A8CF6 #F65A8C #8CF65A
tetradic
#5A8CF6 #F65ADA #F6C45A #5AF676
square
#5A8CF6 #F65ADA #F6C45A #5AF676
split-complementary
#5A8CF6 #F6765A #DAF65A
monochromatic
#0B48CB #2064F3 #5A8CF6 #94B4F9 #CEDDFC

Accessibility & contrast

On white

3.22
#5A8CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#5A8CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8CF6
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8CF6#FFFFFF#000000##000000
##5A8CF61.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97FA
Deuteranopia (green-blind)
#4189F4
Tritanopia (blue-blind)
#00A4B5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5a8cf6;
/* rgb */ color: rgb(90, 140, 246);
/* oklch */ color: oklch(65.6% 0.167 263.5);
Tailwind
colors: {
  custom: {
    50: '#96adfa',
    500: '#5a8cf6',
    950: '#000000',
  },
}
SCSS
$custom: #5a8cf6;
$custom-light: #96adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8cf6",
  "rgb": {
    "r": 90,
    "g": 140,
    "b": 246
  },
  "hsl": {
    "h": 220.769,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65621,
    "c": 0.167,
    "h": 263.5
  },
  "luminance": 0.27584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A8CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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