#5789E7#5789E7

#5789E7 is a light, vivid blue. Relative luminance 0.257; OKLCH L 63.9% C 0.151 H 261.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5789E7
RGBrgb(87, 137, 231)
HSLhsl(219, 75%, 62%)
HSVhsv(219, 62%, 91%)
CMYKcmyk(62.3%, 40.7%, 0%, 9.4%)
CIE-LABlab(57.74, 12.05, -52.66)
CIE-LCHlch(57.74, 54.02, 282.88°)
OKLaboklab(63.95% -0.0213 -0.1499)
OKLCHoklch(63.95% 0.151 261.9)
XYZxyz(27.2949, 25.6846, 79.1050)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789E7 #E7B557
analogous
#57D1E7 #5789E7 #6D57E7
triadic
#5789E7 #E75789 #89E757
tetradic
#5789E7 #E757D1 #E7B557 #57E76D
square
#5789E7 #E757D1 #E7B557 #57E76D
split-complementary
#5789E7 #E76D57 #D1E757
monochromatic
#184BAB #2163DF #5789E7 #8DAFEF #C2D4F6

Accessibility & contrast

On white

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

On black

6.14
#5789E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789E7
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789E7#FFFFFF#000000##000000
##5789E71.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F92EB
Deuteranopia (green-blind)
#4A85E5
Tritanopia (blue-blind)
#009EAD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5789e7;
/* rgb */ color: rgb(87, 137, 231);
/* oklch */ color: oklch(63.9% 0.151 261.9);
Tailwind
colors: {
  custom: {
    50: '#93aaef',
    500: '#5789e7',
    950: '#000000',
  },
}
SCSS
$custom: #5789e7;
$custom-light: #93aaef;
$custom-dark: #000000;
JSON
{
  "hex": "#5789e7",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 231
  },
  "hsl": {
    "h": 219.167,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63949,
    "c": 0.15146,
    "h": 261.9
  },
  "luminance": 0.25687
}

Semantic roles & 50–950 ramp

primary
#5789E7
secondary
#E7D5B3
accent
#910ED7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5789E7

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

Preview Lab → · Contrast checker → · Palette generator →

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