#5784CA#5784CA

#5784CA is a mid, moderate blue. Relative luminance 0.228; OKLCH L 61.2% C 0.118 H 258.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5784CA
RGBrgb(87, 132, 202)
HSLhsl(217, 52%, 57%)
HSVhsv(217, 57%, 79%)
CMYKcmyk(56.9%, 34.7%, 0%, 20.8%)
CIE-LABlab(54.86, 5.43, -40.94)
CIE-LCHlch(54.86, 41.30, 277.56°)
OKLaboklab(61.23% -0.0226 -0.1157)
OKLCHoklch(61.23% 0.118 258.9)
XYZxyz(22.8387, 22.7911, 59.0613)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5784CA #CA9D57
analogous
#57BDCA #5784CA #6457CA
triadic
#5784CA #CA5784 #84CA57
tetradic
#5784CA #CA57BD #CA9D57 #57CA64
square
#5784CA #CA57BD #CA9D57 #57CA64
split-complementary
#5784CA #CA6457 #BDCA57
monochromatic
#284A7F #3765AD #5784CA #86A6D9 #B4C8E7

Accessibility & contrast

On white

3.78
#5784CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#5784CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5784CA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5784CA#FFFFFF#000000##000000
##5784CA1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6789CD
Deuteranopia (green-blind)
#597EC9
Tritanopia (blue-blind)
#00949D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5784ca;
/* rgb */ color: rgb(87, 132, 202);
/* oklch */ color: oklch(61.2% 0.118 258.9);
Tailwind
colors: {
  custom: {
    50: '#8fa7da',
    500: '#5784ca',
    950: '#000000',
  },
}
SCSS
$custom: #5784ca;
$custom-light: #8fa7da;
$custom-dark: #000000;
JSON
{
  "hex": "#5784ca",
  "rgb": {
    "r": 87,
    "g": 132,
    "b": 202
  },
  "hsl": {
    "h": 216.522,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61226,
    "c": 0.11791,
    "h": 258.9
  },
  "luminance": 0.22793
}

Semantic roles & 50–950 ramp

primary
#5784CA
secondary
#D6C4A7
accent
#A34CDB
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5784CA

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

Preview Lab → · Contrast checker → · Palette generator →

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