#5789E9#5789E9

#5789E9 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.1% C 0.154 H 262.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5789E9
RGBrgb(87, 137, 233)
HSLhsl(219, 77%, 63%)
HSVhsv(219, 63%, 91%)
CMYKcmyk(62.7%, 41.2%, 0%, 8.6%)
CIE-LABlab(57.84, 12.72, -53.60)
CIE-LCHlch(57.84, 55.09, 283.35°)
OKLaboklab(64.07% -0.0209 -0.1527)
OKLCHoklch(64.07% 0.154 262.2)
XYZxyz(27.5790, 25.7982, 80.6012)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789E9 #E9B757
analogous
#57D2E9 #5789E9 #6E57E9
triadic
#5789E9 #E95789 #89E957
tetradic
#5789E9 #E957D2 #E9B757 #57E96E
square
#5789E9 #E957D2 #E9B757 #57E96E
split-complementary
#5789E9 #E96E57 #D2E957
monochromatic
#174BAF #2163E2 #5789E9 #8DAFF0 #C3D5F7

Accessibility & contrast

On white

3.41
#5789E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#5789E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789E9
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789E9#FFFFFF#000000##000000
##5789E91.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E92ED
Deuteranopia (green-blind)
#4885E7
Tritanopia (blue-blind)
#009FAE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5789e9;
/* rgb */ color: rgb(87, 137, 233);
/* oklch */ color: oklch(64.1% 0.154 262.2);
Tailwind
colors: {
  custom: {
    50: '#93aaf0',
    500: '#5789e9',
    950: '#000000',
  },
}
SCSS
$custom: #5789e9;
$custom-light: #93aaf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5789e9",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 233
  },
  "hsl": {
    "h": 219.452,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64068,
    "c": 0.15414,
    "h": 262.2
  },
  "luminance": 0.25801
}

Semantic roles & 50–950 ramp

primary
#5789E9
secondary
#E8D6B3
accent
#930CD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5789E9

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

Preview Lab → · Contrast checker → · Palette generator →

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