#5A8DEE#5A8DEE

#5A8DEE is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.3% C 0.155 H 262.1°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5A8DEE
RGBrgb(90, 141, 238)
HSLhsl(219, 81%, 64%)
HSVhsv(219, 62%, 93%)
CMYKcmyk(62.2%, 40.8%, 0%, 6.7%)
CIE-LABlab(59.34, 12.53, -53.99)
CIE-LCHlch(59.34, 55.43, 283.06°)
OKLaboklab(65.35% -0.0214 -0.1537)
OKLCHoklch(65.35% 0.155 262.1)
XYZxyz(29.1685, 27.3938, 84.6227)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8DEE #EEBB5A
analogous
#5AD7EE #5A8DEE #715AEE
triadic
#5A8DEE #EE5A8D #8DEE5A
tetradic
#5A8DEE #EE5AD7 #EEBB5A #5AEE71
square
#5A8DEE #EE5AD7 #EEBB5A #5AEE71
split-complementary
#5A8DEE #EE715A #D7EE5A
monochromatic
#134DBA #2367E8 #5A8DEE #91B3F4 #C9DAF9

Accessibility & contrast

On white

3.24
#5A8DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#5A8DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8DEE
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8DEE#FFFFFF#000000##000000
##5A8DEE1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F2
Deuteranopia (green-blind)
#4C89EC
Tritanopia (blue-blind)
#00A3B2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5a8dee;
/* rgb */ color: rgb(90, 141, 238);
/* oklch */ color: oklch(65.3% 0.155 262.1);
Tailwind
colors: {
  custom: {
    50: '#95adf4',
    500: '#5a8dee',
    950: '#000000',
  },
}
SCSS
$custom: #5a8dee;
$custom-light: #95adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8dee",
  "rgb": {
    "r": 90,
    "g": 141,
    "b": 238
  },
  "hsl": {
    "h": 219.324,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65346,
    "c": 0.15523,
    "h": 262.1
  },
  "luminance": 0.27396
}

Semantic roles & 50–950 ramp

primary
#5A8DEE
secondary
#ECDAB8
accent
#9408DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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