#5989F6#5989F6

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

Color values

HEX#5989F6
RGBrgb(89, 137, 246)
HSLhsl(222, 90%, 66%)
HSVhsv(222, 64%, 96%)
CMYKcmyk(63.8%, 44.3%, 0%, 3.5%)
CIE-LABlab(58.66, 17.44, -59.49)
CIE-LCHlch(58.66, 61.99, 286.34°)
OKLaboklab(64.96% -0.017 -0.1699)
OKLCHoklch(64.96% 0.171 264.3)
XYZxyz(29.6942, 26.6662, 90.7531)
Luminance0.2667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5989F6 #F6C659
analogous
#59D7F6 #5989F6 #7759F6
triadic
#5989F6 #F65989 #89F659
tetradic
#5989F6 #F659D7 #F6C659 #59F677
square
#5989F6 #F659D7 #F6C659 #59F677
split-complementary
#5989F6 #F67759 #D7F659
monochromatic
#0B45CA #1F60F3 #5989F6 #93B2F9 #CDDCFC

Accessibility & contrast

On white

3.32
#5989F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#5989F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5989F6
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5989F6#FFFFFF#000000##000000
##5989F61.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5495FA
Deuteranopia (green-blind)
#3A86F4
Tritanopia (blue-blind)
#00A2B3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5989f6;
/* rgb */ color: rgb(89, 137, 246);
/* oklch */ color: oklch(65.0% 0.171 264.3);
Tailwind
colors: {
  custom: {
    50: '#96aafa',
    500: '#5989f6',
    950: '#000000',
  },
}
SCSS
$custom: #5989f6;
$custom-light: #96aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#5989f6",
  "rgb": {
    "r": 89,
    "g": 137,
    "b": 246
  },
  "hsl": {
    "h": 221.656,
    "s": 89.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64959,
    "c": 0.17079,
    "h": 264.3
  },
  "luminance": 0.26669
}

Semantic roles & 50–950 ramp

primary
#5989F6
secondary
#F0E0BB
accent
#9F00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5989F6

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

Preview Lab → · Contrast checker → · Palette generator →

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