#5A84CB#5A84CB

#5A84CB is a mid, moderate blue. Relative luminance 0.230; OKLCH L 61.4% C 0.118 H 260.4°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5A84CB
RGBrgb(90, 132, 203)
HSLhsl(218, 52%, 57%)
HSVhsv(218, 56%, 80%)
CMYKcmyk(55.7%, 35%, 0%, 20.4%)
CIE-LABlab(55.06, 6.39, -41.18)
CIE-LCHlch(55.06, 41.67, 278.82°)
OKLaboklab(61.44% -0.0197 -0.1164)
OKLCHoklch(61.44% 0.118 260.4)
XYZxyz(23.2435, 22.9861, 59.7002)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84CB #CBA15A
analogous
#5ABDCB #5A84CB #685ACB
triadic
#5A84CB #CB5A84 #84CB5A
tetradic
#5A84CB #CB5ABD #CBA15A #5ACB68
square
#5A84CB #CB5ABD #CBA15A #5ACB68
split-complementary
#5A84CB #CB685A #BDCB5A
monochromatic
#294A82 #3864B0 #5A84CB #89A7DA #B7C9E8

Accessibility & contrast

On white

3.75
#5A84CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#5A84CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84CB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84CB#FFFFFF#000000##000000
##5A84CB1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#678ACE
Deuteranopia (green-blind)
#597FC9
Tritanopia (blue-blind)
#0D949E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a84cb;
/* rgb */ color: rgb(90, 132, 203);
/* oklch */ color: oklch(61.4% 0.118 260.4);
Tailwind
colors: {
  custom: {
    50: '#90a7db',
    500: '#5a84cb',
    950: '#000000',
  },
}
SCSS
$custom: #5a84cb;
$custom-light: #90a7db;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84cb",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 203
  },
  "hsl": {
    "h": 217.699,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6144,
    "c": 0.11802,
    "h": 260.4
  },
  "luminance": 0.22988
}

Semantic roles & 50–950 ramp

primary
#5A84CB
secondary
#D7C6AA
accent
#A64CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5A84CB

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

Preview Lab → · Contrast checker → · Palette generator →

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