#5A84CD#5A84CD

#5A84CD is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.6% C 0.121 H 260.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5A84CD
RGBrgb(90, 132, 205)
HSLhsl(218, 53%, 58%)
HSVhsv(218, 56%, 80%)
CMYKcmyk(56.1%, 35.6%, 0%, 19.6%)
CIE-LABlab(55.16, 7.04, -42.16)
CIE-LCHlch(55.16, 42.74, 279.47°)
OKLaboklab(61.55% -0.0192 -0.1192)
OKLCHoklch(61.55% 0.121 260.9)
XYZxyz(23.4834, 23.0821, 60.9636)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84CD #CDA35A
analogous
#5ABDCD #5A84CD #695ACD
triadic
#5A84CD #CD5A84 #84CD5A
tetradic
#5A84CD #CD5ABD #CDA35A #5ACD69
square
#5A84CD #CD5ABD #CDA35A #5ACD69
split-complementary
#5A84CD #CD695A #BDCD5A
monochromatic
#284A84 #3664B3 #5A84CD #89A7DB #B8CAE9

Accessibility & contrast

On white

3.74
#5A84CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#5A84CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84CD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84CD#FFFFFF#000000##000000
##5A84CD1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#668AD0
Deuteranopia (green-blind)
#587FCB
Tritanopia (blue-blind)
#05949F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a84cd;
/* rgb */ color: rgb(90, 132, 205);
/* oklch */ color: oklch(61.6% 0.121 260.9);
Tailwind
colors: {
  custom: {
    50: '#91a7dc',
    500: '#5a84cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a84cd;
$custom-light: #91a7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84cd",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 205
  },
  "hsl": {
    "h": 218.087,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6155,
    "c": 0.12075,
    "h": 260.9
  },
  "luminance": 0.23084
}

Semantic roles & 50–950 ramp

primary
#5A84CD
secondary
#D8C8AA
accent
#A84BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5A84CD

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

Preview Lab → · Contrast checker → · Palette generator →

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