#5A8FF9#5A8FF9

#5A8FF9 is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.4% C 0.168 H 262.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5A8FF9
RGBrgb(90, 143, 249)
HSLhsl(220, 93%, 66%)
HSVhsv(220, 64%, 98%)
CMYKcmyk(63.9%, 42.6%, 0%, 2.4%)
CIE-LABlab(60.48, 15.02, -58.24)
CIE-LCHlch(60.48, 60.15, 284.46°)
OKLaboklab(66.42% -0.0213 -0.1662)
OKLCHoklch(66.42% 0.168 262.7)
XYZxyz(31.1318, 28.6552, 93.4945)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8FF9 #F9C45A
analogous
#5ADFF9 #5A8FF9 #755AF9
triadic
#5A8FF9 #F95A8F #8FF95A
tetradic
#5A8FF9 #F95ADF #F9C45A #5AF975
square
#5A8FF9 #F95ADF #F9C45A #5AF975
split-complementary
#5A8FF9 #F9755A #DFF95A
monochromatic
#084BD1 #1F67F7 #5A8FF9 #95B7FB #D0DFFD

Accessibility & contrast

On white

3.12
#5A8FF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#5A8FF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8FF9
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8FF9#FFFFFF#000000##000000
##5A8FF91.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFD
Deuteranopia (green-blind)
#448BF7
Tritanopia (blue-blind)
#00A7B8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5a8ff9;
/* rgb */ color: rgb(90, 143, 249);
/* oklch */ color: oklch(66.4% 0.168 262.7);
Tailwind
colors: {
  custom: {
    50: '#97affc',
    500: '#5a8ff9',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ff9;
$custom-light: #97affc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ff9",
  "rgb": {
    "r": 90,
    "g": 143,
    "b": 249
  },
  "hsl": {
    "h": 220,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6642,
    "c": 0.16755,
    "h": 262.7
  },
  "luminance": 0.28658
}

Semantic roles & 50–950 ramp

primary
#5A8FF9
secondary
#F1E0BE
accent
#9900E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5A8FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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