#5789DC#5789DC

#5789DC is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.3% C 0.137 H 260.0°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5789DC
RGBrgb(87, 137, 220)
HSLhsl(217, 66%, 60%)
HSVhsv(217, 60%, 86%)
CMYKcmyk(60.5%, 37.7%, 0%, 13.7%)
CIE-LABlab(57.16, 8.37, -47.45)
CIE-LCHlch(57.16, 48.18, 280.01°)
OKLaboklab(63.31% -0.0237 -0.1347)
OKLCHoklch(63.31% 0.137 260)
XYZxyz(25.7899, 25.0826, 71.1786)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789DC #DCAA57
analogous
#57CBDC #5789DC #6857DC
triadic
#5789DC #DC5789 #89DC57
tetradic
#5789DC #DC57CB #DCAA57 #57DC68
square
#5789DC #DC57CB #DCAA57 #57DC68
split-complementary
#5789DC #DC6857 #CBDC57
monochromatic
#204D99 #2A67CB #5789DC #8AADE7 #BCD0F1

Accessibility & contrast

On white

3.49
#5789DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#5789DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789DC
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789DC#FFFFFF#000000##000000
##5789DC1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6590DF
Deuteranopia (green-blind)
#5384DA
Tritanopia (blue-blind)
#009CA8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5789dc;
/* rgb */ color: rgb(87, 137, 220);
/* oklch */ color: oklch(63.3% 0.137 260.0);
Tailwind
colors: {
  custom: {
    50: '#91abe7',
    500: '#5789dc',
    950: '#000000',
  },
}
SCSS
$custom: #5789dc;
$custom-light: #91abe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5789dc",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 220
  },
  "hsl": {
    "h": 217.444,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6331,
    "c": 0.13674,
    "h": 260
  },
  "luminance": 0.25085
}

Semantic roles & 50–950 ramp

primary
#5789DC
secondary
#E1CEAE
accent
#8918CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5789DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5789DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva