#5A8BF1#5A8BF1

#5A8BF1 is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.1% C 0.162 H 263.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5A8BF1
RGBrgb(90, 139, 241)
HSLhsl(221, 84%, 65%)
HSVhsv(221, 63%, 95%)
CMYKcmyk(62.7%, 42.3%, 0%, 5.5%)
CIE-LABlab(58.96, 14.73, -56.25)
CIE-LCHlch(58.96, 58.14, 284.67°)
OKLaboklab(65.11% -0.0189 -0.1604)
OKLCHoklch(65.11% 0.162 263.3)
XYZxyz(29.3207, 26.9871, 86.8659)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8BF1 #F1C05A
analogous
#5AD6F1 #5A8BF1 #755AF1
triadic
#5A8BF1 #F15A8B #8BF15A
tetradic
#5A8BF1 #F15AD6 #F1C05A #5AF175
square
#5A8BF1 #F15AD6 #F1C05A #5AF175
split-complementary
#5A8BF1 #F1755A #D6F15A
monochromatic
#1049C0 #2263EC #5A8BF1 #92B3F6 #CBDAFB

Accessibility & contrast

On white

3.28
#5A8BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#5A8BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8BF1
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8BF1#FFFFFF#000000##000000
##5A8BF11.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C95F5
Deuteranopia (green-blind)
#4587EF
Tritanopia (blue-blind)
#00A2B2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a8bf1;
/* rgb */ color: rgb(90, 139, 241);
/* oklch */ color: oklch(65.1% 0.162 263.3);
Tailwind
colors: {
  custom: {
    50: '#96acf6',
    500: '#5a8bf1',
    950: '#000000',
  },
}
SCSS
$custom: #5a8bf1;
$custom-light: #96acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8bf1",
  "rgb": {
    "r": 90,
    "g": 139,
    "b": 241
  },
  "hsl": {
    "h": 220.53,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6511,
    "c": 0.1615,
    "h": 263.3
  },
  "luminance": 0.2699
}

Semantic roles & 50–950 ramp

primary
#5A8BF1
secondary
#EDDCBA
accent
#9905E1
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5A8BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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