#5A84F7#5A84F7

#5A84F7 is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.1% C 0.178 H 266.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5A84F7
RGBrgb(90, 132, 247)
HSLhsl(224, 91%, 66%)
HSVhsv(224, 64%, 97%)
CMYKcmyk(63.6%, 46.6%, 0%, 3.1%)
CIE-LABlab(57.45, 20.97, -61.98)
CIE-LCHlch(57.45, 65.43, 288.69°)
OKLaboklab(64.06% -0.0112 -0.1773)
OKLCHoklch(64.06% 0.178 266.4)
XYZxyz(29.2504, 25.3889, 91.3367)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84F7 #F7CD5A
analogous
#5AD2F7 #5A84F7 #7E5AF7
triadic
#5A84F7 #F75A84 #84F75A
tetradic
#5A84F7 #F75AD2 #F7CD5A #5AF77E
square
#5A84F7 #F75AD2 #F7CD5A #5AF77E
split-complementary
#5A84F7 #F77E5A #D2F75A
monochromatic
#0A3ECD #2058F4 #5A84F7 #94B0FA #CFDBFD

Accessibility & contrast

On white

3.45
#5A84F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#5A84F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84F7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84F7#FFFFFF#000000##000000
##5A84F71.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A92FB
Deuteranopia (green-blind)
#2B83F5
Tritanopia (blue-blind)
#009EB2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a84f7;
/* rgb */ color: rgb(90, 132, 247);
/* oklch */ color: oklch(64.1% 0.178 266.4);
Tailwind
colors: {
  custom: {
    50: '#97a7fa',
    500: '#5a84f7',
    950: '#000000',
  },
}
SCSS
$custom: #5a84f7;
$custom-light: #97a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84f7",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 247
  },
  "hsl": {
    "h": 223.949,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64063,
    "c": 0.17769,
    "h": 266.4
  },
  "luminance": 0.25392
}

Semantic roles & 50–950 ramp

primary
#5A84F7
secondary
#F0E2BD
accent
#A800E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5A84F7

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

Preview Lab → · Contrast checker → · Palette generator →

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