#5784CF#5784CF

#5784CF is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.5% C 0.125 H 260.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5784CF
RGBrgb(87, 132, 207)
HSLhsl(218, 56%, 58%)
HSVhsv(218, 58%, 81%)
CMYKcmyk(58%, 36.2%, 0%, 18.8%)
CIE-LABlab(55.11, 7.07, -43.38)
CIE-LCHlch(55.11, 43.95, 279.25°)
OKLaboklab(61.5% -0.0214 -0.1228)
OKLCHoklch(61.5% 0.125 260.1)
XYZxyz(23.4403, 23.0318, 62.2297)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5784CF #CFA257
analogous
#57C0CF #5784CF #6657CF
triadic
#5784CF #CF5784 #84CF57
tetradic
#5784CF #CF57C0 #CFA257 #57CF66
square
#5784CF #CF57C0 #CFA257 #57CF66
split-complementary
#5784CF #CF6657 #C0CF57
monochromatic
#264A85 #3464B5 #5784CF #87A7DD #B6CAEA

Accessibility & contrast

On white

3.75
#5784CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#5784CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5784CF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5784CF#FFFFFF#000000##000000
##5784CF1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5784cf;
/* rgb */ color: rgb(87, 132, 207);
/* oklch */ color: oklch(61.5% 0.125 260.1);
Tailwind
colors: {
  custom: {
    50: '#8fa7de',
    500: '#5784cf',
    950: '#000000',
  },
}
SCSS
$custom: #5784cf;
$custom-light: #8fa7de;
$custom-dark: #000000;
JSON
{
  "hex": "#5784cf",
  "rgb": {
    "r": 87,
    "g": 132,
    "b": 207
  },
  "hsl": {
    "h": 217.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61501,
    "c": 0.12468,
    "h": 260.1
  },
  "luminance": 0.23034
}

Semantic roles & 50–950 ramp

primary
#5784CF
secondary
#D9C7A9
accent
#A749DF
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5784CF

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

Preview Lab → · Contrast checker → · Palette generator →

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