#5A8DF6#5A8DF6

#5A8DF6 is a light, vivid blue. Relative luminance 0.279; OKLCH L 65.8% C 0.166 H 263.1°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5A8DF6
RGBrgb(90, 141, 246)
HSLhsl(220, 90%, 66%)
HSVhsv(220, 63%, 96%)
CMYKcmyk(63.4%, 42.7%, 0%, 3.5%)
CIE-LABlab(59.78, 15.21, -57.71)
CIE-LCHlch(59.78, 59.68, 284.77°)
OKLaboklab(65.83% -0.0199 -0.1647)
OKLCHoklch(65.83% 0.166 263.1)
XYZxyz(30.3701, 27.8744, 90.9507)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8DF6 #F6C35A
analogous
#5ADBF6 #5A8DF6 #755AF6
triadic
#5A8DF6 #F65A8D #8DF65A
tetradic
#5A8DF6 #F65ADB #F6C35A #5AF675
square
#5A8DF6 #F65ADB #F6C35A #5AF675
split-complementary
#5A8DF6 #F6755A #DBF65A
monochromatic
#0B4ACB #2065F3 #5A8DF6 #94B5F9 #CEDDFC

Accessibility & contrast

On white

3.19
#5A8DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#5A8DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8DF6
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8DF6#FFFFFF#000000##000000
##5A8DF61.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FA
Deuteranopia (green-blind)
#4389F4
Tritanopia (blue-blind)
#00A5B5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5a8df6;
/* rgb */ color: rgb(90, 141, 246);
/* oklch */ color: oklch(65.8% 0.166 263.1);
Tailwind
colors: {
  custom: {
    50: '#96adfa',
    500: '#5a8df6',
    950: '#000000',
  },
}
SCSS
$custom: #5a8df6;
$custom-light: #96adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8df6",
  "rgb": {
    "r": 90,
    "g": 141,
    "b": 246
  },
  "hsl": {
    "h": 220.385,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65826,
    "c": 0.16586,
    "h": 263.1
  },
  "luminance": 0.27877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A8DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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