#5A84EA#5A84EA

#5A84EA is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.2% C 0.160 H 265.3°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5A84EA
RGBrgb(90, 132, 234)
HSLhsl(223, 77%, 64%)
HSVhsv(223, 62%, 92%)
CMYKcmyk(61.5%, 43.6%, 0%, 8.2%)
CIE-LABlab(56.70, 16.60, -55.98)
CIE-LCHlch(56.70, 58.39, 286.52°)
OKLaboklab(63.24% -0.0132 -0.1597)
OKLCHoklch(63.24% 0.16 265.3)
XYZxyz(27.3139, 24.6143, 81.1376)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84EA #EAC05A
analogous
#5ACCEA #5A84EA #785AEA
triadic
#5A84EA #EA5A84 #84EA5A
tetradic
#5A84EA #EA5ACC #EAC05A #5AEA78
square
#5A84EA #EA5ACC #EAC05A #5AEA78
split-complementary
#5A84EA #EA785A #CCEA5A
monochromatic
#1744B3 #245CE3 #5A84EA #90ACF1 #C7D5F8

Accessibility & contrast

On white

3.55
#5A84EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#5A84EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84EA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84EA#FFFFFF#000000##000000
##5A84EA1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#558FEE
Deuteranopia (green-blind)
#3E82E8
Tritanopia (blue-blind)
#009BAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a84ea;
/* rgb */ color: rgb(90, 132, 234);
/* oklch */ color: oklch(63.2% 0.160 265.3);
Tailwind
colors: {
  custom: {
    50: '#95a7f1',
    500: '#5a84ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a84ea;
$custom-light: #95a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84ea",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 234
  },
  "hsl": {
    "h": 222.5,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63241,
    "c": 0.16024,
    "h": 265.3
  },
  "luminance": 0.24617
}

Semantic roles & 50–950 ramp

primary
#5A84EA
secondary
#E9DBB6
accent
#9E0CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A84EA

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

Preview Lab → · Contrast checker → · Palette generator →

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