#5989FF#5989FF

#5989FF is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.5% C 0.183 H 265.1°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#5989FF
RGBrgb(89, 137, 255)
HSLhsl(223, 100%, 67%)
HSVhsv(223, 65%, 100%)
CMYKcmyk(65.1%, 46.3%, 0%, 0%)
CIE-LABlab(59.19, 20.49, -63.60)
CIE-LCHlch(59.19, 66.82, 287.86°)
OKLaboklab(65.53% -0.0156 -0.182)
OKLCHoklch(65.53% 0.183 265.1)
XYZxyz(31.1092, 27.2322, 98.2052)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5989FF #FFCF59
analogous
#59DCFF #5989FF #7C59FF
triadic
#5989FF #FF5989 #89FF59
tetradic
#5989FF #FF59DC #FFCF59 #59FF7C
square
#5989FF #FF59DC #FFCF59 #59FF7C
split-complementary
#5989FF #FF7C59 #DCFF59
monochromatic
#0040DE #1C5DFF #5989FF #96B5FF #D3E0FF

Accessibility & contrast

On white

3.26
#5989FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#5989FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5989FF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5989FF#FFFFFF#000000##000000
##5989FF1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D97FF
Deuteranopia (green-blind)
#2B87FD
Tritanopia (blue-blind)
#00A4B8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5989ff;
/* rgb */ color: rgb(89, 137, 255);
/* oklch */ color: oklch(65.5% 0.183 265.1);
Tailwind
colors: {
  custom: {
    50: '#98aaff',
    500: '#5989ff',
    950: '#000000',
  },
}
SCSS
$custom: #5989ff;
$custom-light: #98aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#5989ff",
  "rgb": {
    "r": 89,
    "g": 137,
    "b": 255
  },
  "hsl": {
    "h": 222.651,
    "s": 100,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6553,
    "c": 0.18271,
    "h": 265.1
  },
  "luminance": 0.27235
}

Semantic roles & 50–950 ramp

primary
#5989FF
secondary
#F4E5C0
accent
#A300E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5989FF

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

Preview Lab → · Contrast checker → · Palette generator →

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