#5A8FF1#5A8FF1

#5A8FF1 is a light, vivid blue. Relative luminance 0.282; OKLCH L 65.9% C 0.157 H 261.6°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5A8FF1
RGBrgb(90, 143, 241)
HSLhsl(219, 84%, 65%)
HSVhsv(219, 63%, 95%)
CMYKcmyk(62.7%, 40.7%, 0%, 5.5%)
CIE-LABlab(60.04, 12.34, -54.53)
CIE-LCHlch(60.04, 55.91, 282.75°)
OKLaboklab(65.94% -0.0228 -0.1553)
OKLCHoklch(65.94% 0.157 261.6)
XYZxyz(29.9105, 28.1667, 87.0625)
Luminance0.2817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8FF1 #F1BC5A
analogous
#5ADBF1 #5A8FF1 #705AF1
triadic
#5A8FF1 #F15A8F #8FF15A
tetradic
#5A8FF1 #F15ADB #F1BC5A #5AF170
square
#5A8FF1 #F15ADB #F1BC5A #5AF170
split-complementary
#5A8FF1 #F1705A #DBF15A
monochromatic
#104EC0 #2269EC #5A8FF1 #92B5F6 #CBDCFB

Accessibility & contrast

On white

3.17
#5A8FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#5A8FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8FF1
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8FF1#FFFFFF#000000##000000
##5A8FF11.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6398F5
Deuteranopia (green-blind)
#4D8AEF
Tritanopia (blue-blind)
#00A5B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5a8ff1;
/* rgb */ color: rgb(90, 143, 241);
/* oklch */ color: oklch(65.9% 0.157 261.6);
Tailwind
colors: {
  custom: {
    50: '#96aff6',
    500: '#5a8ff1',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ff1;
$custom-light: #96aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ff1",
  "rgb": {
    "r": 90,
    "g": 143,
    "b": 241
  },
  "hsl": {
    "h": 218.94,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65941,
    "c": 0.15697,
    "h": 261.6
  },
  "luminance": 0.28169
}

Semantic roles & 50–950 ramp

primary
#5A8FF1
secondary
#EDDBBA
accent
#9405E1
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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