#5784CB#5784CB

#5784CB is a mid, moderate blue. Relative luminance 0.228; OKLCH L 61.3% C 0.119 H 259.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5784CB
RGBrgb(87, 132, 203)
HSLhsl(217, 53%, 57%)
HSVhsv(217, 57%, 80%)
CMYKcmyk(57.1%, 35%, 0%, 20.4%)
CIE-LABlab(54.91, 5.76, -41.43)
CIE-LCHlch(54.91, 41.83, 277.91°)
OKLaboklab(61.28% -0.0224 -0.1171)
OKLCHoklch(61.28% 0.119 259.2)
XYZxyz(22.9575, 22.8387, 59.6868)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5784CB #CB9E57
analogous
#57BECB #5784CB #6457CB
triadic
#5784CB #CB5784 #84CB57
tetradic
#5784CB #CB57BE #CB9E57 #57CB64
square
#5784CB #CB57BE #CB9E57 #57CB64
split-complementary
#5784CB #CB6457 #BECB57
monochromatic
#284A80 #3665AF #5784CB #86A6D9 #B4C8E8

Accessibility & contrast

On white

3.77
#5784CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#5784CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5784CB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5784CB#FFFFFF#000000##000000
##5784CB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6789CE
Deuteranopia (green-blind)
#587ECA
Tritanopia (blue-blind)
#00949E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5784cb;
/* rgb */ color: rgb(87, 132, 203);
/* oklch */ color: oklch(61.3% 0.119 259.2);
Tailwind
colors: {
  custom: {
    50: '#8fa7db',
    500: '#5784cb',
    950: '#000000',
  },
}
SCSS
$custom: #5784cb;
$custom-light: #8fa7db;
$custom-dark: #000000;
JSON
{
  "hex": "#5784cb",
  "rgb": {
    "r": 87,
    "g": 132,
    "b": 203
  },
  "hsl": {
    "h": 216.724,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61281,
    "c": 0.11927,
    "h": 259.2
  },
  "luminance": 0.22841
}

Semantic roles & 50–950 ramp

primary
#5784CB
secondary
#D7C4A7
accent
#A44CDC
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5784CB

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

Preview Lab → · Contrast checker → · Palette generator →

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