#5988FA#5988FA

#5988FA is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.0% C 0.177 H 265.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5988FA
RGBrgb(89, 136, 250)
HSLhsl(222, 94%, 66%)
HSVhsv(222, 64%, 98%)
CMYKcmyk(64.4%, 45.6%, 0%, 2%)
CIE-LABlab(58.63, 19.40, -61.74)
CIE-LCHlch(58.63, 64.72, 287.44°)
OKLaboklab(65.01% -0.0154 -0.1766)
OKLCHoklch(65.01% 0.177 265)
XYZxyz(30.1733, 26.6315, 93.9742)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5988FA #FACB59
analogous
#59D9FA #5988FA #7B59FA
triadic
#5988FA #FA5988 #88FA59
tetradic
#5988FA #FA59D9 #FACB59 #59FA7B
square
#5988FA #FA59D9 #FACB59 #59FA7B
split-complementary
#5988FA #FA7B59 #D9FA59
monochromatic
#0642D2 #1E5DF8 #5988FA #94B3FC #D0DDFE

Accessibility & contrast

On white

3.32
#5988FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#5988FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5988FA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5988FA#FFFFFF#000000##000000
##5988FA1.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)
#4F95FE
Deuteranopia (green-blind)
#3186F8
Tritanopia (blue-blind)
#00A2B5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5988fa;
/* rgb */ color: rgb(89, 136, 250);
/* oklch */ color: oklch(65.0% 0.177 265.0);
Tailwind
colors: {
  custom: {
    50: '#97aafd',
    500: '#5988fa',
    950: '#000000',
  },
}
SCSS
$custom: #5988fa;
$custom-light: #97aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#5988fa",
  "rgb": {
    "r": 89,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 222.484,
    "s": 94.152,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65009,
    "c": 0.17727,
    "h": 265
  },
  "luminance": 0.26634
}

Semantic roles & 50–950 ramp

primary
#5988FA
secondary
#F1E2BD
accent
#A300E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5988FA

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

Preview Lab → · Contrast checker → · Palette generator →

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