#5A8BE5#5A8BE5

#5A8BE5 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.4% C 0.145 H 261.6°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5A8BE5
RGBrgb(90, 139, 229)
HSLhsl(219, 73%, 63%)
HSVhsv(219, 61%, 90%)
CMYKcmyk(60.7%, 39.3%, 0%, 10.2%)
CIE-LABlab(58.31, 10.73, -50.62)
CIE-LCHlch(58.31, 51.75, 281.96°)
OKLaboklab(64.4% -0.0212 -0.1439)
OKLCHoklch(64.4% 0.145 261.6)
XYZxyz(27.5870, 26.2936, 77.7349)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8BE5 #E5B45A
analogous
#5AD0E5 #5A8BE5 #6F5AE5
triadic
#5A8BE5 #E55A8B #8BE55A
tetradic
#5A8BE5 #E55AD0 #E5B45A #5AE56F
square
#5A8BE5 #E55AD0 #E5B45A #5AE56F
split-complementary
#5A8BE5 #E56F5A #D0E55A
monochromatic
#1B4DAA #2566DD #5A8BE5 #8FB0ED #C4D5F6

Accessibility & contrast

On white

3.36
#5A8BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#5A8BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8BE5
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8BE5#FFFFFF#000000##000000
##5A8BE51.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6493E9
Deuteranopia (green-blind)
#5086E3
Tritanopia (blue-blind)
#009FAD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a8be5;
/* rgb */ color: rgb(90, 139, 229);
/* oklch */ color: oklch(64.4% 0.145 261.6);
Tailwind
colors: {
  custom: {
    50: '#94aced',
    500: '#5a8be5',
    950: '#000000',
  },
}
SCSS
$custom: #5a8be5;
$custom-light: #94aced;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8be5",
  "rgb": {
    "r": 90,
    "g": 139,
    "b": 229
  },
  "hsl": {
    "h": 218.849,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.644,
    "c": 0.14545,
    "h": 261.6
  },
  "luminance": 0.26296
}

Semantic roles & 50–950 ramp

primary
#5A8BE5
secondary
#E7D5B4
accent
#9011D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A8BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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