#5A84CF#5A84CF

#5A84CF is a mid, vivid blue. Relative luminance 0.232; OKLCH L 61.7% C 0.123 H 261.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5A84CF
RGBrgb(90, 132, 207)
HSLhsl(218, 55%, 58%)
HSVhsv(218, 57%, 81%)
CMYKcmyk(56.5%, 36.2%, 0%, 18.8%)
CIE-LABlab(55.26, 7.68, -43.13)
CIE-LCHlch(55.26, 43.81, 280.10°)
OKLaboklab(61.66% -0.0187 -0.1221)
OKLCHoklch(61.66% 0.123 261.3)
XYZxyz(23.7263, 23.1793, 62.2431)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84CF #CFA55A
analogous
#5ABECF #5A84CF #6A5ACF
triadic
#5A84CF #CF5A84 #84CF5A
tetradic
#5A84CF #CF5ABE #CFA55A #5ACF6A
square
#5A84CF #CF5ABE #CFA55A #5ACF6A
split-complementary
#5A84CF #CF6A5A #BECF5A
monochromatic
#274A87 #3564B7 #5A84CF #89A7DD #B9CBEB

Accessibility & contrast

On white

3.73
#5A84CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5A84CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84CF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84CF#FFFFFF#000000##000000
##5A84CF1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#658AD2
Deuteranopia (green-blind)
#567FCD
Tritanopia (blue-blind)
#0095A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a84cf;
/* rgb */ color: rgb(90, 132, 207);
/* oklch */ color: oklch(61.7% 0.123 261.3);
Tailwind
colors: {
  custom: {
    50: '#91a7de',
    500: '#5a84cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a84cf;
$custom-light: #91a7de;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84cf",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 207
  },
  "hsl": {
    "h": 218.462,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6166,
    "c": 0.12348,
    "h": 261.3
  },
  "luminance": 0.23181
}

Semantic roles & 50–950 ramp

primary
#5A84CF
secondary
#DAC9AB
accent
#A94ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5A84CF

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

Preview Lab → · Contrast checker → · Palette generator →

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