#5789E5#5789E5

#5789E5 is a light, vivid blue. Relative luminance 0.256; OKLCH L 63.8% C 0.149 H 261.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5789E5
RGBrgb(87, 137, 229)
HSLhsl(219, 73%, 62%)
HSVhsv(219, 62%, 90%)
CMYKcmyk(62%, 40.2%, 0%, 10.2%)
CIE-LABlab(57.63, 11.38, -51.72)
CIE-LCHlch(57.63, 52.96, 282.40°)
OKLaboklab(63.83% -0.0217 -0.1472)
OKLCHoklch(63.83% 0.149 261.6)
XYZxyz(27.0140, 25.5722, 77.6259)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789E5 #E5B357
analogous
#57D0E5 #5789E5 #6C57E5
triadic
#5789E5 #E55789 #89E557
tetradic
#5789E5 #E557D0 #E5B357 #57E56C
square
#5789E5 #E557D0 #E5B357 #57E56C
split-complementary
#5789E5 #E56C57 #D0E557
monochromatic
#1A4CA8 #2264DD #5789E5 #8CAEED #C1D3F5

Accessibility & contrast

On white

3.43
#5789E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#5789E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789E5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789E5#FFFFFF#000000##000000
##5789E51.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6092E9
Deuteranopia (green-blind)
#4C84E3
Tritanopia (blue-blind)
#009EAC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5789e5;
/* rgb */ color: rgb(87, 137, 229);
/* oklch */ color: oklch(63.8% 0.149 261.6);
Tailwind
colors: {
  custom: {
    50: '#92abee',
    500: '#5789e5',
    950: '#000000',
  },
}
SCSS
$custom: #5789e5;
$custom-light: #92abee;
$custom-dark: #000000;
JSON
{
  "hex": "#5789e5",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 229
  },
  "hsl": {
    "h": 218.873,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63831,
    "c": 0.14879,
    "h": 261.6
  },
  "luminance": 0.25575
}

Semantic roles & 50–950 ramp

primary
#5789E5
secondary
#E6D4B2
accent
#9010D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5789E5

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

Preview Lab → · Contrast checker → · Palette generator →

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