#5A84BB#5A84BB

#5A84BB is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.6% C 0.096 H 255.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5A84BB
RGBrgb(90, 132, 187)
HSLhsl(214, 42%, 54%)
HSVhsv(214, 52%, 73%)
CMYKcmyk(51.9%, 29.4%, 0%, 26.7%)
CIE-LABlab(54.30, 1.30, -33.26)
CIE-LCHlch(54.30, 33.29, 272.25°)
OKLaboklab(60.61% -0.0241 -0.0934)
OKLCHoklch(60.61% 0.096 255.6)
XYZxyz(21.4343, 22.2624, 50.1717)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84BB #BB915A
analogous
#5AB4BB #5A84BB #615ABB
triadic
#5A84BB #BB5A84 #84BB5A
tetradic
#5A84BB #BB5AB4 #BB915A #5ABB61
square
#5A84BB #BB5AB4 #BB915A #5ABB61
split-complementary
#5A84BB #BB615A #B4BB5A
monochromatic
#2D496D #3F6699 #5A84BB #85A4CD #B1C5DF

Accessibility & contrast

On white

3.85
#5A84BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5A84BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84BB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84BB#FFFFFF#000000##000000
##5A84BB1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E87BD
Deuteranopia (green-blind)
#627EBA
Tritanopia (blue-blind)
#299097
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5a84bb;
/* rgb */ color: rgb(90, 132, 187);
/* oklch */ color: oklch(60.6% 0.096 255.6);
Tailwind
colors: {
  custom: {
    50: '#8ea7cf',
    500: '#5a84bb',
    950: '#000000',
  },
}
SCSS
$custom: #5a84bb;
$custom-light: #8ea7cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84bb",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 187
  },
  "hsl": {
    "h": 214.021,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60605,
    "c": 0.09642,
    "h": 255.6
  },
  "luminance": 0.22264
}

Semantic roles & 50–950 ramp

primary
#5A84BB
secondary
#CDBBA4
accent
#9C56D1
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5A84BB

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

Preview Lab → · Contrast checker → · Palette generator →

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