#5A84F2#5A84F2

#5A84F2 is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.7% C 0.171 H 266.0°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5A84F2
RGBrgb(90, 132, 242)
HSLhsl(223, 85%, 65%)
HSVhsv(223, 63%, 95%)
CMYKcmyk(62.8%, 45.5%, 0%, 5.1%)
CIE-LABlab(57.16, 19.28, -59.69)
CIE-LCHlch(57.16, 62.73, 287.91°)
OKLaboklab(63.74% -0.0119 -0.1706)
OKLCHoklch(63.74% 0.171 266)
XYZxyz(28.4892, 25.0844, 87.3276)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84F2 #F2C85A
analogous
#5AD0F2 #5A84F2 #7C5AF2
triadic
#5A84F2 #F25A84 #84F25A
tetradic
#5A84F2 #F25AD0 #F2C85A #5AF27C
square
#5A84F2 #F25AD0 #F2C85A #5AF27C
split-complementary
#5A84F2 #F27C5A #D0F25A
monochromatic
#0F41C2 #215AEE #5A84F2 #93AEF6 #CBD9FB

Accessibility & contrast

On white

3.49
#5A84F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#5A84F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84F2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84F2#FFFFFF#000000##000000
##5A84F21.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E91F6
Deuteranopia (green-blind)
#3483F0
Tritanopia (blue-blind)
#009DAF
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a84f2;
/* rgb */ color: rgb(90, 132, 242);
/* oklch */ color: oklch(63.7% 0.171 266.0);
Tailwind
colors: {
  custom: {
    50: '#96a7f7',
    500: '#5a84f2',
    950: '#000000',
  },
}
SCSS
$custom: #5a84f2;
$custom-light: #96a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84f2",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 242
  },
  "hsl": {
    "h": 223.421,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63742,
    "c": 0.17101,
    "h": 266
  },
  "luminance": 0.25087
}

Semantic roles & 50–950 ramp

primary
#5A84F2
secondary
#EEDFBA
accent
#A404E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5A84F2

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

Preview Lab → · Contrast checker → · Palette generator →

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