#5A84F6#5A84F6

#5A84F6 is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.0% C 0.176 H 266.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5A84F6
RGBrgb(90, 132, 246)
HSLhsl(224, 90%, 66%)
HSVhsv(224, 63%, 96%)
CMYKcmyk(63.4%, 46.3%, 0%, 3.5%)
CIE-LABlab(57.39, 20.63, -61.52)
CIE-LCHlch(57.39, 64.89, 288.54°)
OKLaboklab(64% -0.0114 -0.176)
OKLCHoklch(64% 0.176 266.3)
XYZxyz(29.0965, 25.3273, 90.5262)
Luminance0.2533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84F6 #F6CC5A
analogous
#5AD2F6 #5A84F6 #7E5AF6
triadic
#5A84F6 #F65A84 #84F65A
tetradic
#5A84F6 #F65AD2 #F6CC5A #5AF67E
square
#5A84F6 #F65AD2 #F6CC5A #5AF67E
split-complementary
#5A84F6 #F67E5A #D2F65A
monochromatic
#0B3FCB #2059F3 #5A84F6 #94AFF9 #CEDBFC

Accessibility & contrast

On white

3.46
#5A84F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#5A84F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84F6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84F6#FFFFFF#000000##000000
##5A84F61.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B91FA
Deuteranopia (green-blind)
#2D83F4
Tritanopia (blue-blind)
#009EB1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a84f6;
/* rgb */ color: rgb(90, 132, 246);
/* oklch */ color: oklch(64.0% 0.176 266.3);
Tailwind
colors: {
  custom: {
    50: '#97a7fa',
    500: '#5a84f6',
    950: '#000000',
  },
}
SCSS
$custom: #5a84f6;
$custom-light: #97a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84f6",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 246
  },
  "hsl": {
    "h": 223.846,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63998,
    "c": 0.17635,
    "h": 266.3
  },
  "luminance": 0.2533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A84F6

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

Preview Lab → · Contrast checker → · Palette generator →

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