#5988F1#5988F1

#5988F1 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.4% C 0.165 H 264.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5988F1
RGBrgb(89, 136, 241)
HSLhsl(221, 84%, 65%)
HSVhsv(221, 63%, 95%)
CMYKcmyk(63.1%, 43.6%, 0%, 5.5%)
CIE-LABlab(58.11, 16.36, -57.61)
CIE-LCHlch(58.11, 59.88, 285.85°)
OKLaboklab(64.44% -0.0168 -0.1644)
OKLCHoklch(64.44% 0.165 264.2)
XYZxyz(28.7956, 26.0804, 86.7185)
Luminance0.2608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5988F1 #F1C259
analogous
#59D4F1 #5988F1 #7659F1
triadic
#5988F1 #F15988 #88F159
tetradic
#5988F1 #F159D4 #F1C259 #59F176
square
#5988F1 #F159D4 #F1C259 #59F176
split-complementary
#5988F1 #F17659 #D4F159
monochromatic
#1046BF #2160EC #5988F1 #91B0F6 #CAD9FB

Accessibility & contrast

On white

3.38
#5988F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#5988F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5988F1
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5988F1#FFFFFF#000000##000000
##5988F11.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5693F5
Deuteranopia (green-blind)
#3E85EF
Tritanopia (blue-blind)
#00A0B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5988f1;
/* rgb */ color: rgb(89, 136, 241);
/* oklch */ color: oklch(64.4% 0.165 264.2);
Tailwind
colors: {
  custom: {
    50: '#95aaf6',
    500: '#5988f1',
    950: '#000000',
  },
}
SCSS
$custom: #5988f1;
$custom-light: #95aaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5988f1",
  "rgb": {
    "r": 89,
    "g": 136,
    "b": 241
  },
  "hsl": {
    "h": 221.447,
    "s": 84.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64444,
    "c": 0.1653,
    "h": 264.2
  },
  "luminance": 0.26083
}

Semantic roles & 50–950 ramp

primary
#5988F1
secondary
#EDDDB9
accent
#9D05E1
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5988F1

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

Preview Lab → · Contrast checker → · Palette generator →

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