#5A8AEB#5A8AEB

#5A8AEB is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.5% C 0.155 H 262.9°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5A8AEB
RGBrgb(90, 138, 235)
HSLhsl(220, 78%, 64%)
HSVhsv(220, 62%, 92%)
CMYKcmyk(61.7%, 41.3%, 0%, 7.8%)
CIE-LABlab(58.36, 13.32, -53.88)
CIE-LCHlch(58.36, 55.50, 283.89°)
OKLaboklab(64.54% -0.019 -0.1534)
OKLCHoklch(64.54% 0.155 262.9)
XYZxyz(28.2951, 26.3462, 82.1754)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8AEB #EBBB5A
analogous
#5AD2EB #5A8AEB #725AEB
triadic
#5A8AEB #EB5A8A #8AEB5A
tetradic
#5A8AEB #EB5AD2 #EBBB5A #5AEB72
square
#5A8AEB #EB5AD2 #EBBB5A #5AEB72
split-complementary
#5A8AEB #EB725A #D2EB5A
monochromatic
#164AB5 #2363E4 #5A8AEB #91B1F2 #C7D7F8

Accessibility & contrast

On white

3.35
#5A8AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#5A8AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8AEB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8AEB#FFFFFF#000000##000000
##5A8AEB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94EF
Deuteranopia (green-blind)
#4986E9
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a8aeb;
/* rgb */ color: rgb(90, 138, 235);
/* oklch */ color: oklch(64.5% 0.155 262.9);
Tailwind
colors: {
  custom: {
    50: '#95abf2',
    500: '#5a8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #5a8aeb;
$custom-light: #95abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8aeb",
  "rgb": {
    "r": 90,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 220.138,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64542,
    "c": 0.15462,
    "h": 262.9
  },
  "luminance": 0.26349
}

Semantic roles & 50–950 ramp

primary
#5A8AEB
secondary
#EAD9B7
accent
#960BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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