#5789DD#5789DD

#5789DD is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.4% C 0.138 H 260.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5789DD
RGBrgb(87, 137, 221)
HSLhsl(218, 66%, 60%)
HSVhsv(218, 61%, 87%)
CMYKcmyk(60.6%, 38%, 0%, 13.3%)
CIE-LABlab(57.21, 8.70, -47.92)
CIE-LCHlch(57.21, 48.71, 280.29°)
OKLaboklab(63.37% -0.0235 -0.1361)
OKLCHoklch(63.37% 0.138 260.2)
XYZxyz(25.9227, 25.1357, 71.8782)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789DD #DDAB57
analogous
#57CCDD #5789DD #6857DD
triadic
#5789DD #DD5789 #89DD57
tetradic
#5789DD #DD57CC #DDAB57 #57DD68
square
#5789DD #DD57CC #DDAB57 #57DD68
split-complementary
#5789DD #DD6857 #CCDD57
monochromatic
#1F4D9A #2A67CD #5789DD #8AADE7 #BDD1F2

Accessibility & contrast

On white

3.48
#5789DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#5789DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789DD
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789DD#FFFFFF#000000##000000
##5789DD1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5789dd;
/* rgb */ color: rgb(87, 137, 221);
/* oklch */ color: oklch(63.4% 0.138 260.2);
Tailwind
colors: {
  custom: {
    50: '#91abe8',
    500: '#5789dd',
    950: '#000000',
  },
}
SCSS
$custom: #5789dd;
$custom-light: #91abe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5789dd",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 221
  },
  "hsl": {
    "h": 217.612,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63367,
    "c": 0.13808,
    "h": 260.2
  },
  "luminance": 0.25138
}

Semantic roles & 50–950 ramp

primary
#5789DD
secondary
#E1CEAE
accent
#8A17CE
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5789DD

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

Preview Lab → · Contrast checker → · Palette generator →

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