#5A84FF#5A84FF

#5A84FF is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.6% C 0.188 H 266.9°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5A84FF
RGBrgb(90, 132, 255)
HSLhsl(225, 100%, 68%)
HSVhsv(225, 65%, 100%)
CMYKcmyk(64.7%, 48.2%, 0%, 0%)
CIE-LABlab(57.94, 23.67, -65.61)
CIE-LCHlch(57.94, 69.75, 289.84°)
OKLaboklab(64.59% -0.0102 -0.188)
OKLCHoklch(64.59% 0.188 266.9)
XYZxyz(30.5115, 25.8933, 97.9783)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84FF #FFD55A
analogous
#5AD7FF #5A84FF #825AFF
triadic
#5A84FF #FF5A84 #84FF5A
tetradic
#5A84FF #FF5AD7 #FFD55A #5AFF82
square
#5A84FF #FF5AD7 #FFD55A #5AFF82
split-complementary
#5A84FF #FF825A #D7FF5A
monochromatic
#0039DF #1D56FF #5A84FF #97B2FF #D4DFFF

Accessibility & contrast

On white

3.40
#5A84FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5A84FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84FF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84FF#FFFFFF#000000##000000
##5A84FF1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4193FF
Deuteranopia (green-blind)
#1684FC
Tritanopia (blue-blind)
#00A1B5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a84ff;
/* rgb */ color: rgb(90, 132, 255);
/* oklch */ color: oklch(64.6% 0.188 266.9);
Tailwind
colors: {
  custom: {
    50: '#98a7ff',
    500: '#5a84ff',
    950: '#000000',
  },
}
SCSS
$custom: #5a84ff;
$custom-light: #98a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84ff",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 255
  },
  "hsl": {
    "h": 224.727,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64587,
    "c": 0.18829,
    "h": 266.9
  },
  "luminance": 0.25896
}

Semantic roles & 50–950 ramp

primary
#5A84FF
secondary
#F4E7C1
accent
#AB00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5A84FF

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

Preview Lab → · Contrast checker → · Palette generator →

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