#5988F7#5988F7

#5988F7 is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.8% C 0.173 H 264.7°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5988F7
RGBrgb(89, 136, 247)
HSLhsl(222, 91%, 66%)
HSVhsv(222, 64%, 97%)
CMYKcmyk(64%, 44.9%, 0%, 3.1%)
CIE-LABlab(58.46, 18.38, -60.37)
CIE-LCHlch(58.46, 63.11, 286.94°)
OKLaboklab(64.82% -0.0159 -0.1726)
OKLCHoklch(64.82% 0.173 264.7)
XYZxyz(29.7066, 26.4448, 91.5165)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5988F7 #F7C859
analogous
#59D7F7 #5988F7 #7959F7
triadic
#5988F7 #F75988 #88F759
tetradic
#5988F7 #F759D7 #F7C859 #59F779
square
#5988F7 #F759D7 #F7C859 #59F779
split-complementary
#5988F7 #F77959 #D7F759
monochromatic
#0A44CC #1F5EF4 #5988F7 #93B2FA #CEDCFD

Accessibility & contrast

On white

3.34
#5988F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#5988F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5988F7
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5988F7#FFFFFF#000000##000000
##5988F71.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5294FB
Deuteranopia (green-blind)
#3686F5
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5988f7;
/* rgb */ color: rgb(89, 136, 247);
/* oklch */ color: oklch(64.8% 0.173 264.7);
Tailwind
colors: {
  custom: {
    50: '#96aafa',
    500: '#5988f7',
    950: '#000000',
  },
}
SCSS
$custom: #5988f7;
$custom-light: #96aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#5988f7",
  "rgb": {
    "r": 89,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 222.152,
    "s": 90.805,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64819,
    "c": 0.17329,
    "h": 264.7
  },
  "luminance": 0.26448
}

Semantic roles & 50–950 ramp

primary
#5988F7
secondary
#F0E0BC
accent
#A100E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5988F7

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

Preview Lab → · Contrast checker → · Palette generator →

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