#5A84E2#5A84E2

#5A84E2 is a light, vivid blue. Relative luminance 0.242; OKLCH L 62.8% C 0.149 H 264.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5A84E2
RGBrgb(90, 132, 226)
HSLhsl(221, 70%, 62%)
HSVhsv(221, 60%, 89%)
CMYKcmyk(60.2%, 41.6%, 0%, 11.4%)
CIE-LABlab(56.25, 13.93, -52.23)
CIE-LCHlch(56.25, 54.06, 284.94°)
OKLaboklab(62.76% -0.0146 -0.1487)
OKLCHoklch(62.76% 0.149 264.4)
XYZxyz(26.1905, 24.1649, 75.2209)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84E2 #E2B85A
analogous
#5AC8E2 #5A84E2 #745AE2
triadic
#5A84E2 #E25A84 #84E25A
tetradic
#5A84E2 #E25AC8 #E2B85A #5AE274
square
#5A84E2 #E25AC8 #E2B85A #5AE274
split-complementary
#5A84E2 #E2745A #C8E25A
monochromatic
#1D47A5 #265DD9 #5A84E2 #8EABEB #C2D2F4

Accessibility & contrast

On white

3.60
#5A84E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5A84E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84E2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84E2#FFFFFF#000000##000000
##5A84E21.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8EE6
Deuteranopia (green-blind)
#4781E0
Tritanopia (blue-blind)
#0099A8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a84e2;
/* rgb */ color: rgb(90, 132, 226);
/* oklch */ color: oklch(62.8% 0.149 264.4);
Tailwind
colors: {
  custom: {
    50: '#94a7eb',
    500: '#5a84e2',
    950: '#000000',
  },
}
SCSS
$custom: #5a84e2;
$custom-light: #94a7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84e2",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 226
  },
  "hsl": {
    "h": 221.471,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62755,
    "c": 0.14941,
    "h": 264.4
  },
  "luminance": 0.24167
}

Semantic roles & 50–950 ramp

primary
#5A84E2
secondary
#E5D5B3
accent
#9713D2
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5A84E2

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

Preview Lab → · Contrast checker → · Palette generator →

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