#5988EF#5988EF

#5988EF is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.3% C 0.163 H 263.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5988EF
RGBrgb(89, 136, 239)
HSLhsl(221, 82%, 64%)
HSVhsv(221, 63%, 94%)
CMYKcmyk(62.8%, 43.1%, 0%, 6.3%)
CIE-LABlab(58.00, 15.69, -56.68)
CIE-LCHlch(58.00, 58.81, 285.47°)
OKLaboklab(64.32% -0.0172 -0.1617)
OKLCHoklch(64.32% 0.163 263.9)
XYZxyz(28.4986, 25.9616, 85.1538)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5988EF #EFC059
analogous
#59D3EF #5988EF #7559EF
triadic
#5988EF #EF5988 #88EF59
tetradic
#5988EF #EF59D3 #EFC059 #59EF75
square
#5988EF #EF59D3 #EFC059 #59EF75
split-complementary
#5988EF #EF7559 #D3EF59
monochromatic
#1247BC #2160EA #5988EF #91B0F4 #C9D8FA

Accessibility & contrast

On white

3.39
#5988EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#5988EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5988EF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5988EF#FFFFFF#000000##000000
##5988EF1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5893F3
Deuteranopia (green-blind)
#4085ED
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5988ef;
/* rgb */ color: rgb(89, 136, 239);
/* oklch */ color: oklch(64.3% 0.163 263.9);
Tailwind
colors: {
  custom: {
    50: '#95aaf5',
    500: '#5988ef',
    950: '#000000',
  },
}
SCSS
$custom: #5988ef;
$custom-light: #95aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5988ef",
  "rgb": {
    "r": 89,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 221.2,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64321,
    "c": 0.16262,
    "h": 263.9
  },
  "luminance": 0.25964
}

Semantic roles & 50–950 ramp

primary
#5988EF
secondary
#ECDCB8
accent
#9B07DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5988EF

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

Preview Lab → · Contrast checker → · Palette generator →

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