#5789E6#5789E6

#5789E6 is a light, vivid blue. Relative luminance 0.256; OKLCH L 63.9% C 0.150 H 261.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5789E6
RGBrgb(87, 137, 230)
HSLhsl(219, 74%, 62%)
HSVhsv(219, 62%, 90%)
CMYKcmyk(62.2%, 40.4%, 0%, 9.8%)
CIE-LABlab(57.68, 11.71, -52.19)
CIE-LCHlch(57.68, 53.49, 282.65°)
OKLaboklab(63.89% -0.0215 -0.1486)
OKLCHoklch(63.89% 0.15 261.7)
XYZxyz(27.1541, 25.6282, 78.3633)
Luminance0.2563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789E6 #E6B457
analogous
#57D0E6 #5789E6 #6D57E6
triadic
#5789E6 #E65789 #89E657
tetradic
#5789E6 #E657D0 #E6B457 #57E66D
square
#5789E6 #E657D0 #E6B457 #57E66D
split-complementary
#5789E6 #E66D57 #D0E657
monochromatic
#194CA9 #2264DE #5789E6 #8CAEEE #C2D4F6

Accessibility & contrast

On white

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

On black

6.13
#5789E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789E6
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789E6#FFFFFF#000000##000000
##5789E61.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6092EA
Deuteranopia (green-blind)
#4B84E4
Tritanopia (blue-blind)
#009EAC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5789e6;
/* rgb */ color: rgb(87, 137, 230);
/* oklch */ color: oklch(63.9% 0.150 261.7);
Tailwind
colors: {
  custom: {
    50: '#93aaee',
    500: '#5789e6',
    950: '#000000',
  },
}
SCSS
$custom: #5789e6;
$custom-light: #93aaee;
$custom-dark: #000000;
JSON
{
  "hex": "#5789e6",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 230
  },
  "hsl": {
    "h": 219.021,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6389,
    "c": 0.15012,
    "h": 261.7
  },
  "luminance": 0.25631
}

Semantic roles & 50–950 ramp

primary
#5789E6
secondary
#E7D4B2
accent
#910FD6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5789E6

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

Preview Lab → · Contrast checker → · Palette generator →

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