#5989E8#5989E8

#5989E8 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.1% C 0.152 H 262.7°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5989E8
RGBrgb(89, 137, 232)
HSLhsl(220, 76%, 63%)
HSVhsv(220, 62%, 91%)
CMYKcmyk(61.6%, 40.9%, 0%, 9%)
CIE-LABlab(57.88, 12.74, -52.98)
CIE-LCHlch(57.88, 54.49, 283.52°)
OKLaboklab(64.11% -0.0194 -0.1508)
OKLCHoklch(64.11% 0.152 262.7)
XYZxyz(27.6259, 25.8389, 79.8598)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5989E8 #E8B859
analogous
#59D0E8 #5989E8 #7059E8
triadic
#5989E8 #E85989 #89E859
tetradic
#5989E8 #E859D0 #E8B859 #59E870
square
#5989E8 #E859D0 #E8B859 #59E870
split-complementary
#5989E8 #E87059 #D0E859
monochromatic
#184BAE #2363E1 #5989E8 #8FAFEF #C5D5F7

Accessibility & contrast

On white

3.40
#5989E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#5989E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5989E8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5989E8#FFFFFF#000000##000000
##5989E81.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)
#5F92EC
Deuteranopia (green-blind)
#4A85E6
Tritanopia (blue-blind)
#009EAD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5989e8;
/* rgb */ color: rgb(89, 137, 232);
/* oklch */ color: oklch(64.1% 0.152 262.7);
Tailwind
colors: {
  custom: {
    50: '#94aaf0',
    500: '#5989e8',
    950: '#000000',
  },
}
SCSS
$custom: #5989e8;
$custom-light: #94aaf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5989e8",
  "rgb": {
    "r": 89,
    "g": 137,
    "b": 232
  },
  "hsl": {
    "h": 219.86,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64106,
    "c": 0.15209,
    "h": 262.7
  },
  "luminance": 0.25841
}

Semantic roles & 50–950 ramp

primary
#5989E8
secondary
#E8D7B5
accent
#940ED8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5989E8

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

Preview Lab → · Contrast checker → · Palette generator →

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