#5989F0#5989F0

#5989F0 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.6% C 0.163 H 263.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5989F0
RGBrgb(89, 137, 240)
HSLhsl(221, 83%, 65%)
HSVhsv(221, 63%, 94%)
CMYKcmyk(62.9%, 42.9%, 0%, 5.9%)
CIE-LABlab(58.32, 15.42, -56.72)
CIE-LCHlch(58.32, 58.77, 285.21°)
OKLaboklab(64.59% -0.018 -0.1618)
OKLCHoklch(64.59% 0.163 263.7)
XYZxyz(28.7882, 26.3038, 85.9812)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5989F0 #F0C059
analogous
#59D5F0 #5989F0 #7559F0
triadic
#5989F0 #F05989 #89F059
tetradic
#5989F0 #F059D5 #F0C059 #59F075
square
#5989F0 #F059D5 #F0C059 #59F075
split-complementary
#5989F0 #F07559 #D5F059
monochromatic
#1148BD #2161EB #5989F0 #91B1F5 #C9D9FA

Accessibility & contrast

On white

3.35
#5989F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#5989F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5989F0
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5989F0#FFFFFF#000000##000000
##5989F01.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5994F4
Deuteranopia (green-blind)
#4186EE
Tritanopia (blue-blind)
#00A0B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5989f0;
/* rgb */ color: rgb(89, 137, 240);
/* oklch */ color: oklch(64.6% 0.163 263.7);
Tailwind
colors: {
  custom: {
    50: '#95aaf5',
    500: '#5989f0',
    950: '#000000',
  },
}
SCSS
$custom: #5989f0;
$custom-light: #95aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5989f0",
  "rgb": {
    "r": 89,
    "g": 137,
    "b": 240
  },
  "hsl": {
    "h": 220.927,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64588,
    "c": 0.1628,
    "h": 263.7
  },
  "luminance": 0.26306
}

Semantic roles & 50–950 ramp

primary
#5989F0
secondary
#ECDCB8
accent
#9A06E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5989F0

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

Preview Lab → · Contrast checker → · Palette generator →

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