#5A84BF#5A84BF

#5A84BF is a mid, moderate blue. Relative luminance 0.224; OKLCH L 60.8% C 0.102 H 257.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5A84BF
RGBrgb(90, 132, 191)
HSLhsl(215, 44%, 55%)
HSVhsv(215, 53%, 75%)
CMYKcmyk(52.9%, 30.9%, 0%, 25.1%)
CIE-LABlab(54.49, 2.56, -35.26)
CIE-LCHlch(54.49, 35.35, 274.15°)
OKLaboklab(60.81% -0.0229 -0.0992)
OKLCHoklch(60.81% 0.102 257)
XYZxyz(21.8685, 22.4361, 52.4583)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84BF #BF955A
analogous
#5AB6BF #5A84BF #635ABF
triadic
#5A84BF #BF5A84 #84BF5A
tetradic
#5A84BF #BF5AB6 #BF955A #5ABF63
square
#5A84BF #BF5AB6 #BF955A #5ABF63
split-complementary
#5A84BF #BF635A #B6BF5A
monochromatic
#2C4972 #3D669E #5A84BF #86A5D0 #B2C6E1

Accessibility & contrast

On white

3.83
#5A84BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5A84BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84BF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84BF#FFFFFF#000000##000000
##5A84BF1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D88C2
Deuteranopia (green-blind)
#607EBE
Tritanopia (blue-blind)
#249199
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5a84bf;
/* rgb */ color: rgb(90, 132, 191);
/* oklch */ color: oklch(60.8% 0.102 257.0);
Tailwind
colors: {
  custom: {
    50: '#8fa7d2',
    500: '#5a84bf',
    950: '#000000',
  },
}
SCSS
$custom: #5a84bf;
$custom-light: #8fa7d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84bf",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 191
  },
  "hsl": {
    "h": 215.05,
    "s": 44.105,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60807,
    "c": 0.10177,
    "h": 257
  },
  "luminance": 0.22438
}

Semantic roles & 50–950 ramp

primary
#5A84BF
secondary
#D0BEA5
accent
#9F54D4
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5A84BF

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

Preview Lab → · Contrast checker → · Palette generator →

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