#5789ED#5789ED

#5789ED is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.3% C 0.159 H 262.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5789ED
RGBrgb(87, 137, 237)
HSLhsl(220, 81%, 64%)
HSVhsv(220, 63%, 93%)
CMYKcmyk(63.3%, 42.2%, 0%, 7.1%)
CIE-LABlab(58.06, 14.07, -55.47)
CIE-LCHlch(58.06, 57.23, 284.23°)
OKLaboklab(64.31% -0.0202 -0.1582)
OKLCHoklch(64.31% 0.159 262.7)
XYZxyz(28.1568, 26.0294, 83.6447)
Luminance0.2603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789ED #EDBB57
analogous
#57D4ED #5789ED #7057ED
triadic
#5789ED #ED5789 #89ED57
tetradic
#5789ED #ED57D4 #EDBB57 #57ED70
square
#5789ED #ED57D4 #EDBB57 #57ED70
split-complementary
#5789ED #ED7057 #D4ED57
monochromatic
#144AB6 #2062E7 #5789ED #8EB0F3 #C6D7F9

Accessibility & contrast

On white

3.38
#5789ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#5789ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789ED
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789ED#FFFFFF#000000##000000
##5789ED1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F1
Deuteranopia (green-blind)
#4485EB
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5789ed;
/* rgb */ color: rgb(87, 137, 237);
/* oklch */ color: oklch(64.3% 0.159 262.7);
Tailwind
colors: {
  custom: {
    50: '#94aaf3',
    500: '#5789ed',
    950: '#000000',
  },
}
SCSS
$custom: #5789ed;
$custom-light: #94aaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5789ed",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 237
  },
  "hsl": {
    "h": 220,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64309,
    "c": 0.15947,
    "h": 262.7
  },
  "luminance": 0.26032
}

Semantic roles & 50–950 ramp

primary
#5789ED
secondary
#EAD9B5
accent
#9609DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5789ED

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

Preview Lab → · Contrast checker → · Palette generator →

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