#5A84FD#5A84FD

#5A84FD is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.5% C 0.186 H 266.8°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5A84FD
RGBrgb(90, 132, 253)
HSLhsl(225, 98%, 67%)
HSVhsv(225, 64%, 99%)
CMYKcmyk(64.4%, 47.8%, 0%, 0.8%)
CIE-LABlab(57.81, 22.99, -64.71)
CIE-LCHlch(57.81, 68.67, 289.56°)
OKLaboklab(64.45% -0.0105 -0.1853)
OKLCHoklch(64.45% 0.186 266.8)
XYZxyz(30.1912, 25.7652, 96.2916)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84FD #FDD35A
analogous
#5AD5FD #5A84FD #825AFD
triadic
#5A84FD #FD5A84 #84FD5A
tetradic
#5A84FD #FD5AD5 #FDD35A #5AFD82
square
#5A84FD #FD5AD5 #FDD35A #5AFD82
split-complementary
#5A84FD #FD825A #D5FD5A
monochromatic
#033ADA #1E57FC #5A84FD #96B1FE #D3DEFE

Accessibility & contrast

On white

3.41
#5A84FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#5A84FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84FD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84FD#FFFFFF#000000##000000
##5A84FD1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#1D84FB
Tritanopia (blue-blind)
#00A0B4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a84fd;
/* rgb */ color: rgb(90, 132, 253);
/* oklch */ color: oklch(64.5% 0.186 266.8);
Tailwind
colors: {
  custom: {
    50: '#98a7ff',
    500: '#5a84fd',
    950: '#000000',
  },
}
SCSS
$custom: #5a84fd;
$custom-light: #98a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84fd",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 253
  },
  "hsl": {
    "h": 224.54,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64454,
    "c": 0.18564,
    "h": 266.8
  },
  "luminance": 0.25768
}

Semantic roles & 50–950 ramp

primary
#5A84FD
secondary
#F3E6C0
accent
#AA00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5A84FD

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

Preview Lab → · Contrast checker → · Palette generator →

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