#5A8DF1#5A8DF1

#5A8DF1 is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.5% C 0.159 H 262.5°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5A8DF1
RGBrgb(90, 141, 241)
HSLhsl(220, 84%, 65%)
HSVhsv(220, 63%, 95%)
CMYKcmyk(62.7%, 41.5%, 0%, 5.5%)
CIE-LABlab(59.50, 13.53, -55.39)
CIE-LCHlch(59.50, 57.02, 283.73°)
OKLaboklab(65.53% -0.0208 -0.1578)
OKLCHoklch(65.53% 0.159 262.5)
XYZxyz(29.6130, 27.5716, 86.9633)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8DF1 #F1BE5A
analogous
#5AD9F1 #5A8DF1 #725AF1
triadic
#5A8DF1 #F15A8D #8DF15A
tetradic
#5A8DF1 #F15AD9 #F1BE5A #5AF172
square
#5A8DF1 #F15AD9 #F1BE5A #5AF172
split-complementary
#5A8DF1 #F1725A #D9F15A
monochromatic
#104CC0 #2266EC #5A8DF1 #92B4F6 #CBDBFB

Accessibility & contrast

On white

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

On black

6.51
#5A8DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8DF1
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8DF1#FFFFFF#000000##000000
##5A8DF11.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6097F5
Deuteranopia (green-blind)
#4989EF
Tritanopia (blue-blind)
#00A4B3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5a8df1;
/* rgb */ color: rgb(90, 141, 241);
/* oklch */ color: oklch(65.5% 0.159 262.5);
Tailwind
colors: {
  custom: {
    50: '#96adf6',
    500: '#5a8df1',
    950: '#000000',
  },
}
SCSS
$custom: #5a8df1;
$custom-light: #96adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8df1",
  "rgb": {
    "r": 90,
    "g": 141,
    "b": 241
  },
  "hsl": {
    "h": 219.735,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65525,
    "c": 0.15922,
    "h": 262.5
  },
  "luminance": 0.27574
}

Semantic roles & 50–950 ramp

primary
#5A8DF1
secondary
#EDDCBA
accent
#9605E1
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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