#5A8AEE#5A8AEE

#5A8AEE is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.7% C 0.159 H 263.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5A8AEE
RGBrgb(90, 138, 238)
HSLhsl(221, 81%, 64%)
HSVhsv(221, 62%, 93%)
CMYKcmyk(62.2%, 42%, 0%, 6.7%)
CIE-LABlab(58.53, 14.32, -55.28)
CIE-LCHlch(58.53, 57.10, 284.53°)
OKLaboklab(64.72% -0.0184 -0.1576)
OKLCHoklch(64.72% 0.159 263.3)
XYZxyz(28.7322, 26.5211, 84.4773)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8AEE #EEBE5A
analogous
#5AD4EE #5A8AEE #745AEE
triadic
#5A8AEE #EE5A8A #8AEE5A
tetradic
#5A8AEE #EE5AD4 #EEBE5A #5AEE74
square
#5A8AEE #EE5AD4 #EEBE5A #5AEE74
split-complementary
#5A8AEE #EE745A #D4EE5A
monochromatic
#1349BA #2363E8 #5A8AEE #91B1F4 #C9D9F9

Accessibility & contrast

On white

3.33
#5A8AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#5A8AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8AEE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8AEE#FFFFFF#000000##000000
##5A8AEE1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F2
Deuteranopia (green-blind)
#4686EC
Tritanopia (blue-blind)
#00A1B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a8aee;
/* rgb */ color: rgb(90, 138, 238);
/* oklch */ color: oklch(64.7% 0.159 263.3);
Tailwind
colors: {
  custom: {
    50: '#95abf4',
    500: '#5a8aee',
    950: '#000000',
  },
}
SCSS
$custom: #5a8aee;
$custom-light: #95abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8aee",
  "rgb": {
    "r": 90,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 220.541,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64722,
    "c": 0.15864,
    "h": 263.3
  },
  "luminance": 0.26524
}

Semantic roles & 50–950 ramp

primary
#5A8AEE
secondary
#ECDBB8
accent
#9808DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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