#5A84EB#5A84EB

#5A84EB is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.3% C 0.162 H 265.4°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5A84EB
RGBrgb(90, 132, 235)
HSLhsl(223, 78%, 64%)
HSVhsv(223, 62%, 92%)
CMYKcmyk(61.7%, 43.8%, 0%, 7.8%)
CIE-LABlab(56.75, 16.94, -56.45)
CIE-LCHlch(56.75, 58.93, 286.70°)
OKLaboklab(63.3% -0.013 -0.1611)
OKLCHoklch(63.3% 0.162 265.4)
XYZxyz(27.4579, 24.6719, 81.8963)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84EB #EBC15A
analogous
#5ACCEB #5A84EB #785AEB
triadic
#5A84EB #EB5A84 #84EB5A
tetradic
#5A84EB #EB5ACC #EBC15A #5AEB78
square
#5A84EB #EB5ACC #EBC15A #5AEB78
split-complementary
#5A84EB #EB785A #CCEB5A
monochromatic
#1644B5 #235BE4 #5A84EB #91ADF2 #C7D5F8

Accessibility & contrast

On white

3.54
#5A84EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#5A84EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84EB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84EB#FFFFFF#000000##000000
##5A84EB1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEF
Deuteranopia (green-blind)
#3D82E9
Tritanopia (blue-blind)
#009BAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a84eb;
/* rgb */ color: rgb(90, 132, 235);
/* oklch */ color: oklch(63.3% 0.162 265.4);
Tailwind
colors: {
  custom: {
    50: '#95a7f2',
    500: '#5a84eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a84eb;
$custom-light: #95a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84eb",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 235
  },
  "hsl": {
    "h": 222.621,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63303,
    "c": 0.1616,
    "h": 265.4
  },
  "luminance": 0.24674
}

Semantic roles & 50–950 ramp

primary
#5A84EB
secondary
#EADBB7
accent
#9E0BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A84EB

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

Preview Lab → · Contrast checker → · Palette generator →

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