#5A84DD#5A84DD

#5A84DD is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.5% C 0.143 H 263.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5A84DD
RGBrgb(90, 132, 221)
HSLhsl(221, 66%, 61%)
HSVhsv(221, 59%, 87%)
CMYKcmyk(59.3%, 40.3%, 0%, 13.3%)
CIE-LABlab(55.98, 12.27, -49.86)
CIE-LCHlch(55.98, 51.35, 283.83°)
OKLaboklab(62.46% -0.0156 -0.1417)
OKLCHoklch(62.46% 0.143 263.7)
XYZxyz(25.5144, 23.8945, 71.6601)
Luminance0.2390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84DD #DDB35A
analogous
#5AC6DD #5A84DD #715ADD
triadic
#5A84DD #DD5A84 #84DD5A
tetradic
#5A84DD #DD5AC6 #DDB35A #5ADD71
square
#5A84DD #DD5AC6 #DDB35A #5ADD71
split-complementary
#5A84DD #DD715A #C6DD5A
monochromatic
#20489C #2B5FCF #5A84DD #8DAAE7 #BFD0F2

Accessibility & contrast

On white

3.63
#5A84DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#5A84DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84DD
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84DD#FFFFFF#000000##000000
##5A84DD1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8DE0
Deuteranopia (green-blind)
#4B81DB
Tritanopia (blue-blind)
#0098A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5a84dd;
/* rgb */ color: rgb(90, 132, 221);
/* oklch */ color: oklch(62.5% 0.143 263.7);
Tailwind
colors: {
  custom: {
    50: '#93a7e8',
    500: '#5a84dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a84dd;
$custom-light: #93a7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84dd",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 221
  },
  "hsl": {
    "h": 220.763,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62458,
    "c": 0.1426,
    "h": 263.7
  },
  "luminance": 0.23897
}

Semantic roles & 50–950 ramp

primary
#5A84DD
secondary
#E2D2B1
accent
#9318CE
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5A84DD

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

Preview Lab → · Contrast checker → · Palette generator →

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