#5789EA#5789EA

#5789EA is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.1% C 0.155 H 262.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5789EA
RGBrgb(87, 137, 234)
HSLhsl(220, 78%, 63%)
HSVhsv(220, 63%, 92%)
CMYKcmyk(62.8%, 41.5%, 0%, 8.2%)
CIE-LABlab(57.90, 13.06, -54.07)
CIE-LCHlch(57.90, 55.63, 283.57°)
OKLaboklab(64.13% -0.0208 -0.1541)
OKLCHoklch(64.13% 0.155 262.3)
XYZxyz(27.7222, 25.8555, 81.3556)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789EA #EAB857
analogous
#57D2EA #5789EA #6E57EA
triadic
#5789EA #EA5789 #89EA57
tetradic
#5789EA #EA57D2 #EAB857 #57EA6E
square
#5789EA #EA57D2 #EAB857 #57EA6E
split-complementary
#5789EA #EA6E57 #D2EA57
monochromatic
#164BB1 #2163E3 #5789EA #8DAFF1 #C4D5F8

Accessibility & contrast

On white

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

On black

6.17
#5789EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789EA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789EA#FFFFFF#000000##000000
##5789EA1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D92EE
Deuteranopia (green-blind)
#4785E8
Tritanopia (blue-blind)
#009FAE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5789ea;
/* rgb */ color: rgb(87, 137, 234);
/* oklch */ color: oklch(64.1% 0.155 262.3);
Tailwind
colors: {
  custom: {
    50: '#93aaf1',
    500: '#5789ea',
    950: '#000000',
  },
}
SCSS
$custom: #5789ea;
$custom-light: #93aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5789ea",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 234
  },
  "hsl": {
    "h": 219.592,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64128,
    "c": 0.15547,
    "h": 262.3
  },
  "luminance": 0.25858
}

Semantic roles & 50–950 ramp

primary
#5789EA
secondary
#E9D7B4
accent
#940BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5789EA

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

Preview Lab → · Contrast checker → · Palette generator →

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