#5A84E8#5A84E8

#5A84E8 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.1% C 0.158 H 265.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5A84E8
RGBrgb(90, 132, 232)
HSLhsl(222, 76%, 63%)
HSVhsv(222, 61%, 91%)
CMYKcmyk(61.2%, 43.1%, 0%, 9%)
CIE-LABlab(56.59, 15.93, -55.05)
CIE-LCHlch(56.59, 57.31, 286.14°)
OKLaboklab(63.12% -0.0135 -0.157)
OKLCHoklch(63.12% 0.158 265.1)
XYZxyz(27.0282, 24.5000, 79.6329)
Luminance0.2450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84E8 #E8BE5A
analogous
#5ACBE8 #5A84E8 #775AE8
triadic
#5A84E8 #E85A84 #84E85A
tetradic
#5A84E8 #E85ACB #E8BE5A #5AE877
square
#5A84E8 #E85ACB #E8BE5A #5AE877
split-complementary
#5A84E8 #E8775A #CBE85A
monochromatic
#1845AF #245CE1 #5A84E8 #90ACEF #C5D4F7

Accessibility & contrast

On white

3.56
#5A84E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#5A84E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84E8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84E8#FFFFFF#000000##000000
##5A84E81.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#568FEC
Deuteranopia (green-blind)
#4182E6
Tritanopia (blue-blind)
#009BAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a84e8;
/* rgb */ color: rgb(90, 132, 232);
/* oklch */ color: oklch(63.1% 0.158 265.1);
Tailwind
colors: {
  custom: {
    50: '#94a7f0',
    500: '#5a84e8',
    950: '#000000',
  },
}
SCSS
$custom: #5a84e8;
$custom-light: #94a7f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84e8",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 232
  },
  "hsl": {
    "h": 222.254,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63118,
    "c": 0.15754,
    "h": 265.1
  },
  "luminance": 0.24502
}

Semantic roles & 50–950 ramp

primary
#5A84E8
secondary
#E8D9B5
accent
#9C0ED8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5A84E8

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

Preview Lab → · Contrast checker → · Palette generator →

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