#5A84EE#5A84EE

#5A84EE is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.5% C 0.166 H 265.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5A84EE
RGBrgb(90, 132, 238)
HSLhsl(223, 81%, 64%)
HSVhsv(223, 62%, 93%)
CMYKcmyk(62.2%, 44.5%, 0%, 6.7%)
CIE-LABlab(56.93, 17.94, -57.84)
CIE-LCHlch(56.93, 60.56, 287.23°)
OKLaboklab(63.49% -0.0125 -0.1652)
OKLCHoklch(63.49% 0.166 265.7)
XYZxyz(27.8950, 24.8467, 84.1982)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84EE #EEC45A
analogous
#5ACEEE #5A84EE #7A5AEE
triadic
#5A84EE #EE5A84 #84EE5A
tetradic
#5A84EE #EE5ACE #EEC45A #5AEE7A
square
#5A84EE #EE5ACE #EEC45A #5AEE7A
split-complementary
#5A84EE #EE7A5A #CEEE5A
monochromatic
#1343BA #235BE8 #5A84EE #91ADF4 #C9D7F9

Accessibility & contrast

On white

3.52
#5A84EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#5A84EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84EE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84EE#FFFFFF#000000##000000
##5A84EE1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5190F2
Deuteranopia (green-blind)
#3982EC
Tritanopia (blue-blind)
#009CAD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a84ee;
/* rgb */ color: rgb(90, 132, 238);
/* oklch */ color: oklch(63.5% 0.166 265.7);
Tailwind
colors: {
  custom: {
    50: '#95a7f4',
    500: '#5a84ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a84ee;
$custom-light: #95a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84ee",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 238
  },
  "hsl": {
    "h": 222.973,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6349,
    "c": 0.16564,
    "h": 265.7
  },
  "luminance": 0.24849
}

Semantic roles & 50–950 ramp

primary
#5A84EE
secondary
#ECDDB8
accent
#A108DE
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A84EE

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

Preview Lab → · Contrast checker → · Palette generator →

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