#5989F7#5989F7

#5989F7 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.0% C 0.172 H 264.4°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5989F7
RGBrgb(89, 137, 247)
HSLhsl(222, 91%, 66%)
HSVhsv(222, 64%, 97%)
CMYKcmyk(64%, 44.5%, 0%, 3.1%)
CIE-LABlab(58.72, 17.78, -59.95)
CIE-LCHlch(58.72, 62.53, 286.52°)
OKLaboklab(65.02% -0.0168 -0.1713)
OKLCHoklch(65.02% 0.172 264.4)
XYZxyz(29.8481, 26.7278, 91.5636)
Luminance0.2673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5989F7 #F7C759
analogous
#59D8F7 #5989F7 #7859F7
triadic
#5989F7 #F75989 #89F759
tetradic
#5989F7 #F759D8 #F7C759 #59F778
square
#5989F7 #F759D8 #F7C759 #59F778
split-complementary
#5989F7 #F77859 #D8F759
monochromatic
#0A45CC #1F5FF4 #5989F7 #93B3FA #CEDCFD

Accessibility & contrast

On white

3.31
#5989F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#5989F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5989F7
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5989F7#FFFFFF#000000##000000
##5989F71.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5495FB
Deuteranopia (green-blind)
#3886F5
Tritanopia (blue-blind)
#00A2B4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5989f7;
/* rgb */ color: rgb(89, 137, 247);
/* oklch */ color: oklch(65.0% 0.172 264.4);
Tailwind
colors: {
  custom: {
    50: '#96aafa',
    500: '#5989f7',
    950: '#000000',
  },
}
SCSS
$custom: #5989f7;
$custom-light: #96aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#5989f7",
  "rgb": {
    "r": 89,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 221.772,
    "s": 90.805,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65022,
    "c": 0.17212,
    "h": 264.4
  },
  "luminance": 0.26731
}

Semantic roles & 50–950 ramp

primary
#5989F7
secondary
#F0E0BC
accent
#A000E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5989F7

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

Preview Lab → · Contrast checker → · Palette generator →

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