#5789EB#5789EB

#5789EB is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.2% C 0.157 H 262.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5789EB
RGBrgb(87, 137, 235)
HSLhsl(220, 79%, 63%)
HSVhsv(220, 63%, 92%)
CMYKcmyk(63%, 41.7%, 0%, 7.8%)
CIE-LABlab(57.95, 13.39, -54.54)
CIE-LCHlch(57.95, 56.16, 283.80°)
OKLaboklab(64.19% -0.0206 -0.1554)
OKLCHoklch(64.19% 0.157 262.5)
XYZxyz(27.8663, 25.9131, 82.1144)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789EB #EBB957
analogous
#57D3EB #5789EB #6F57EB
triadic
#5789EB #EB5789 #89EB57
tetradic
#5789EB #EB57D3 #EBB957 #57EB6F
square
#5789EB #EB57D3 #EBB957 #57EB6F
split-complementary
#5789EB #EB6F57 #D3EB57
monochromatic
#154AB2 #2063E4 #5789EB #8EAFF2 #C4D6F8

Accessibility & contrast

On white

3.40
#5789EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5789EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789EB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789EB#FFFFFF#000000##000000
##5789EB1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93EF
Deuteranopia (green-blind)
#4685E9
Tritanopia (blue-blind)
#009FAE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5789eb;
/* rgb */ color: rgb(87, 137, 235);
/* oklch */ color: oklch(64.2% 0.157 262.5);
Tailwind
colors: {
  custom: {
    50: '#93aaf2',
    500: '#5789eb',
    950: '#000000',
  },
}
SCSS
$custom: #5789eb;
$custom-light: #93aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5789eb",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 235
  },
  "hsl": {
    "h": 219.73,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64188,
    "c": 0.15681,
    "h": 262.5
  },
  "luminance": 0.25916
}

Semantic roles & 50–950 ramp

primary
#5789EB
secondary
#E9D7B4
accent
#950ADB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5789EB

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

Preview Lab → · Contrast checker → · Palette generator →

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