#5789E8#5789E8

#5789E8 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.0% C 0.153 H 262.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5789E8
RGBrgb(87, 137, 232)
HSLhsl(219, 76%, 63%)
HSVhsv(219, 63%, 91%)
CMYKcmyk(62.5%, 40.9%, 0%, 9%)
CIE-LABlab(57.79, 12.38, -53.13)
CIE-LCHlch(57.79, 54.56, 283.12°)
OKLaboklab(64.01% -0.0211 -0.1513)
OKLCHoklch(64.01% 0.153 262)
XYZxyz(27.4365, 25.7412, 79.8510)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789E8 #E8B657
analogous
#57D2E8 #5789E8 #6D57E8
triadic
#5789E8 #E85789 #89E857
tetradic
#5789E8 #E857D2 #E8B657 #57E86D
square
#5789E8 #E857D2 #E8B657 #57E86D
split-complementary
#5789E8 #E86D57 #D2E857
monochromatic
#184BAD #2163E1 #5789E8 #8DAFEF #C3D5F7

Accessibility & contrast

On white

3.42
#5789E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#5789E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789E8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789E8#FFFFFF#000000##000000
##5789E81.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E92EC
Deuteranopia (green-blind)
#4985E6
Tritanopia (blue-blind)
#009FAD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5789e8;
/* rgb */ color: rgb(87, 137, 232);
/* oklch */ color: oklch(64.0% 0.153 262.0);
Tailwind
colors: {
  custom: {
    50: '#93aaf0',
    500: '#5789e8',
    950: '#000000',
  },
}
SCSS
$custom: #5789e8;
$custom-light: #93aaf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5789e8",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 232
  },
  "hsl": {
    "h": 219.31,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64008,
    "c": 0.1528,
    "h": 262
  },
  "luminance": 0.25744
}

Semantic roles & 50–950 ramp

primary
#5789E8
secondary
#E8D6B3
accent
#920DD8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5789E8

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

Preview Lab → · Contrast checker → · Palette generator →

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