#5A84D5#5A84D5

#5A84D5 is a mid, vivid blue. Relative luminance 0.235; OKLCH L 62.0% C 0.132 H 262.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5A84D5
RGBrgb(90, 132, 213)
HSLhsl(220, 59%, 59%)
HSVhsv(220, 58%, 84%)
CMYKcmyk(57.7%, 38%, 0%, 16.5%)
CIE-LABlab(55.56, 9.64, -46.03)
CIE-LCHlch(55.56, 47.03, 281.83°)
OKLaboklab(62% -0.0173 -0.1305)
OKLCHoklch(62% 0.132 262.5)
XYZxyz(24.4738, 23.4783, 66.1799)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84D5 #D5AB5A
analogous
#5AC2D5 #5A84D5 #6E5AD5
triadic
#5A84D5 #D55A84 #84D55A
tetradic
#5A84D5 #D55AC2 #D5AB5A #5AD56E
square
#5A84D5 #D55AC2 #D5AB5A #5AD56E
split-complementary
#5A84D5 #D56E5A #C2D55A
monochromatic
#254990 #3162C1 #5A84D5 #8BA8E1 #BCCDEE

Accessibility & contrast

On white

3.69
#5A84D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#5A84D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84D5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84D5#FFFFFF#000000##000000
##5A84D51.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#628BD8
Deuteranopia (green-blind)
#5280D3
Tritanopia (blue-blind)
#0096A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a84d5;
/* rgb */ color: rgb(90, 132, 213);
/* oklch */ color: oklch(62.0% 0.132 262.5);
Tailwind
colors: {
  custom: {
    50: '#92a7e2',
    500: '#5a84d5',
    950: '#000000',
  },
}
SCSS
$custom: #5a84d5;
$custom-light: #92a7e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84d5",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 213
  },
  "hsl": {
    "h": 219.512,
    "s": 59.42,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61996,
    "c": 0.13168,
    "h": 262.5
  },
  "luminance": 0.2348
}

Semantic roles & 50–950 ramp

primary
#5A84D5
secondary
#DDCDAD
accent
#AD45E3
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5A84D5

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

Preview Lab → · Contrast checker → · Palette generator →

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