#5A84BD#5A84BD

#5A84BD is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.7% C 0.099 H 256.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5A84BD
RGBrgb(90, 132, 189)
HSLhsl(215, 43%, 55%)
HSVhsv(215, 52%, 74%)
CMYKcmyk(52.4%, 30.2%, 0%, 25.9%)
CIE-LABlab(54.40, 1.93, -34.26)
CIE-LCHlch(54.40, 34.32, 273.23°)
OKLaboklab(60.71% -0.0235 -0.0963)
OKLCHoklch(60.71% 0.099 256.3)
XYZxyz(21.6499, 22.3487, 51.3071)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84BD #BD935A
analogous
#5AB6BD #5A84BD #615ABD
triadic
#5A84BD #BD5A84 #84BD5A
tetradic
#5A84BD #BD5AB6 #BD935A #5ABD61
square
#5A84BD #BD5AB6 #BD935A #5ABD61
split-complementary
#5A84BD #BD615A #B6BD5A
monochromatic
#2D4970 #3E669C #5A84BD #86A5CE #B1C5E0

Accessibility & contrast

On white

3.84
#5A84BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5A84BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84BD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84BD#FFFFFF#000000##000000
##5A84BD1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D87BF
Deuteranopia (green-blind)
#617EBC
Tritanopia (blue-blind)
#269198
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5a84bd;
/* rgb */ color: rgb(90, 132, 189);
/* oklch */ color: oklch(60.7% 0.099 256.3);
Tailwind
colors: {
  custom: {
    50: '#8fa7d1',
    500: '#5a84bd',
    950: '#000000',
  },
}
SCSS
$custom: #5a84bd;
$custom-light: #8fa7d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84bd",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 189
  },
  "hsl": {
    "h": 214.545,
    "s": 42.857,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60706,
    "c": 0.09909,
    "h": 256.3
  },
  "luminance": 0.2235
}

Semantic roles & 50–950 ramp

primary
#5A84BD
secondary
#CEBDA5
accent
#9D55D3
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5A84BD

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

Preview Lab → · Contrast checker → · Palette generator →

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