#5A84DB#5A84DB

#5A84DB is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.3% C 0.140 H 263.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5A84DB
RGBrgb(90, 132, 219)
HSLhsl(220, 64%, 61%)
HSVhsv(220, 59%, 86%)
CMYKcmyk(58.9%, 39.7%, 0%, 14.1%)
CIE-LABlab(55.88, 11.61, -48.91)
CIE-LCHlch(55.88, 50.27, 283.36°)
OKLaboklab(62.34% -0.016 -0.1389)
OKLCHoklch(62.34% 0.14 263.4)
XYZxyz(25.2495, 23.7885, 70.2652)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84DB #DBB15A
analogous
#5AC4DB #5A84DB #705ADB
triadic
#5A84DB #DB5A84 #84DB5A
tetradic
#5A84DB #DB5AC4 #DBB15A #5ADB70
square
#5A84DB #DB5AC4 #DBB15A #5ADB70
split-complementary
#5A84DB #DB705A #C4DB5A
monochromatic
#214899 #2C60CB #5A84DB #8CA9E6 #BECFF1

Accessibility & contrast

On white

3.65
#5A84DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#5A84DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84DB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84DB#FFFFFF#000000##000000
##5A84DB1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8CDE
Deuteranopia (green-blind)
#4D80D9
Tritanopia (blue-blind)
#0097A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5a84db;
/* rgb */ color: rgb(90, 132, 219);
/* oklch */ color: oklch(62.3% 0.140 263.4);
Tailwind
colors: {
  custom: {
    50: '#93a7e6',
    500: '#5a84db',
    950: '#000000',
  },
}
SCSS
$custom: #5a84db;
$custom-light: #93a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84db",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 219
  },
  "hsl": {
    "h": 220.465,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62341,
    "c": 0.13987,
    "h": 263.4
  },
  "luminance": 0.23791
}

Semantic roles & 50–950 ramp

primary
#5A84DB
secondary
#E1D1B0
accent
#921ACC
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5A84DB

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

Preview Lab → · Contrast checker → · Palette generator →

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