#5784CD#5784CD

#5784CD is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.4% C 0.122 H 259.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5784CD
RGBrgb(87, 132, 205)
HSLhsl(217, 54%, 57%)
HSVhsv(217, 58%, 80%)
CMYKcmyk(57.6%, 35.6%, 0%, 19.6%)
CIE-LABlab(55.00, 6.41, -42.41)
CIE-LCHlch(55.00, 42.89, 278.60°)
OKLaboklab(61.39% -0.0219 -0.12)
OKLCHoklch(61.39% 0.122 259.7)
XYZxyz(23.1974, 22.9346, 60.9501)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5784CD #CDA057
analogous
#57BFCD #5784CD #6557CD
triadic
#5784CD #CD5784 #84CD57
tetradic
#5784CD #CD57BF #CDA057 #57CD65
square
#5784CD #CD57BF #CDA057 #57CD65
split-complementary
#5784CD #CD6557 #BFCD57
monochromatic
#274A83 #3565B2 #5784CD #86A7DB #B5C9E9

Accessibility & contrast

On white

3.76
#5784CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#5784CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5784CD
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5784CD#FFFFFF#000000##000000
##5784CD1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5784cd;
/* rgb */ color: rgb(87, 132, 205);
/* oklch */ color: oklch(61.4% 0.122 259.7);
Tailwind
colors: {
  custom: {
    50: '#8fa7dc',
    500: '#5784cd',
    950: '#000000',
  },
}
SCSS
$custom: #5784cd;
$custom-light: #8fa7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5784cd",
  "rgb": {
    "r": 87,
    "g": 132,
    "b": 205
  },
  "hsl": {
    "h": 217.119,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61391,
    "c": 0.12198,
    "h": 259.7
  },
  "luminance": 0.22937
}

Semantic roles & 50–950 ramp

primary
#5784CD
secondary
#D8C6A8
accent
#A54ADD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5784CD

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

Preview Lab → · Contrast checker → · Palette generator →

#5784CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva