#5A84D2#5A84D2

#5A84D2 is a mid, vivid blue. Relative luminance 0.233; OKLCH L 61.8% C 0.128 H 261.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5A84D2
RGBrgb(90, 132, 210)
HSLhsl(219, 57%, 59%)
HSVhsv(219, 57%, 82%)
CMYKcmyk(57.1%, 37.1%, 0%, 17.6%)
CIE-LABlab(55.41, 8.66, -44.59)
CIE-LCHlch(55.41, 45.42, 280.99°)
OKLaboklab(61.83% -0.018 -0.1263)
OKLCHoklch(61.83% 0.128 261.9)
XYZxyz(24.0966, 23.3274, 64.1931)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84D2 #D2A85A
analogous
#5AC0D2 #5A84D2 #6C5AD2
triadic
#5A84D2 #D25A84 #84D25A
tetradic
#5A84D2 #D25AC0 #D2A85A #5AD26C
square
#5A84D2 #D25AC0 #D2A85A #5AD26C
split-complementary
#5A84D2 #D26C5A #C0D25A
monochromatic
#264A8C #3363BC #5A84D2 #8AA8DF #BACCEC

Accessibility & contrast

On white

3.71
#5A84D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5A84D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84D2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84D2#FFFFFF#000000##000000
##5A84D21.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#648BD5
Deuteranopia (green-blind)
#5480D0
Tritanopia (blue-blind)
#0095A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a84d2;
/* rgb */ color: rgb(90, 132, 210);
/* oklch */ color: oklch(61.8% 0.128 261.9);
Tailwind
colors: {
  custom: {
    50: '#91a7e0',
    500: '#5a84d2',
    950: '#000000',
  },
}
SCSS
$custom: #5a84d2;
$custom-light: #91a7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84d2",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 210
  },
  "hsl": {
    "h": 219,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61827,
    "c": 0.12757,
    "h": 261.9
  },
  "luminance": 0.23329
}

Semantic roles & 50–950 ramp

primary
#5A84D2
secondary
#DCCBAC
accent
#AB47E0
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5A84D2

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

Preview Lab → · Contrast checker → · Palette generator →

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