#5A84EF#5A84EF

#5A84EF is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.6% C 0.167 H 265.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5A84EF
RGBrgb(90, 132, 239)
HSLhsl(223, 82%, 65%)
HSVhsv(223, 62%, 94%)
CMYKcmyk(62.3%, 44.8%, 0%, 6.3%)
CIE-LABlab(56.98, 18.28, -58.30)
CIE-LCHlch(56.98, 61.10, 287.40°)
OKLaboklab(63.55% -0.0124 -0.1665)
OKLCHoklch(63.55% 0.167 265.7)
XYZxyz(28.0423, 24.9057, 84.9741)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84EF #EFC55A
analogous
#5ACFEF #5A84EF #7B5AEF
triadic
#5A84EF #EF5A84 #84EF5A
tetradic
#5A84EF #EF5ACF #EFC55A #5AEF7B
square
#5A84EF #EF5ACF #EFC55A #5AEF7B
split-complementary
#5A84EF #EF7B5A #CFEF5A
monochromatic
#1242BC #225AEA #5A84EF #92AEF4 #CAD7FA

Accessibility & contrast

On white

3.51
#5A84EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#5A84EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84EF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84EF#FFFFFF#000000##000000
##5A84EF1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5190F3
Deuteranopia (green-blind)
#3882ED
Tritanopia (blue-blind)
#009CAE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a84ef;
/* rgb */ color: rgb(90, 132, 239);
/* oklch */ color: oklch(63.6% 0.167 265.7);
Tailwind
colors: {
  custom: {
    50: '#96a7f5',
    500: '#5a84ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a84ef;
$custom-light: #96a7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84ef",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 239
  },
  "hsl": {
    "h": 223.087,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63553,
    "c": 0.16698,
    "h": 265.7
  },
  "luminance": 0.24908
}

Semantic roles & 50–950 ramp

primary
#5A84EF
secondary
#ECDEB9
accent
#A207DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A84EF

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

Preview Lab → · Contrast checker → · Palette generator →

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