#5A8DF9#5A8DF9

#5A8DF9 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.0% C 0.170 H 263.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5A8DF9
RGBrgb(90, 141, 249)
HSLhsl(221, 93%, 66%)
HSVhsv(221, 64%, 98%)
CMYKcmyk(63.9%, 43.4%, 0%, 2.4%)
CIE-LABlab(59.94, 16.22, -59.09)
CIE-LCHlch(59.94, 61.28, 285.35°)
OKLaboklab(66.01% -0.0194 -0.1687)
OKLCHoklch(66.01% 0.17 263.4)
XYZxyz(30.8342, 28.0601, 93.3953)
Luminance0.2806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8DF9 #F9C65A
analogous
#5ADCF9 #5A8DF9 #775AF9
triadic
#5A8DF9 #F95A8D #8DF95A
tetradic
#5A8DF9 #F95ADC #F9C65A #5AF977
square
#5A8DF9 #F95ADC #F9C65A #5AF977
split-complementary
#5A8DF9 #F9775A #DCF95A
monochromatic
#0848D1 #1F64F7 #5A8DF9 #95B6FB #D0DFFD

Accessibility & contrast

On white

3.18
#5A8DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#5A8DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8DF9
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8DF9#FFFFFF#000000##000000
##5A8DF91.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FD
Deuteranopia (green-blind)
#408AF7
Tritanopia (blue-blind)
#00A6B7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5a8df9;
/* rgb */ color: rgb(90, 141, 249);
/* oklch */ color: oklch(66.0% 0.170 263.4);
Tailwind
colors: {
  custom: {
    50: '#97adfc',
    500: '#5a8df9',
    950: '#000000',
  },
}
SCSS
$custom: #5a8df9;
$custom-light: #97adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8df9",
  "rgb": {
    "r": 90,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 220.755,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6601,
    "c": 0.16983,
    "h": 263.4
  },
  "luminance": 0.28063
}

Semantic roles & 50–950 ramp

primary
#5A8DF9
secondary
#F1E1BE
accent
#9C00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5A8DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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