#5988FB#5988FB

#5988FB is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.1% C 0.179 H 265.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5988FB
RGBrgb(89, 136, 251)
HSLhsl(223, 95%, 67%)
HSVhsv(223, 65%, 98%)
CMYKcmyk(64.5%, 45.8%, 0%, 1.6%)
CIE-LABlab(58.69, 19.74, -62.20)
CIE-LCHlch(58.69, 65.26, 287.60°)
OKLaboklab(65.07% -0.0153 -0.1779)
OKLCHoklch(65.07% 0.179 265.1)
XYZxyz(30.3305, 26.6943, 94.8022)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5988FB #FBCC59
analogous
#59D9FB #5988FB #7B59FB
triadic
#5988FB #FB5988 #88FB59
tetradic
#5988FB #FB59D9 #FBCC59 #59FB7B
square
#5988FB #FB59D9 #FBCC59 #59FB7B
split-complementary
#5988FB #FB7B59 #D9FB59
monochromatic
#0541D4 #1D5DFA #5988FB #95B3FC #D1DEFE

Accessibility & contrast

On white

3.31
#5988FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#5988FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5988FB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5988FB#FFFFFF#000000##000000
##5988FB1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E95FF
Deuteranopia (green-blind)
#2F86F9
Tritanopia (blue-blind)
#00A2B5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5988fb;
/* rgb */ color: rgb(89, 136, 251);
/* oklch */ color: oklch(65.1% 0.179 265.1);
Tailwind
colors: {
  custom: {
    50: '#97aafd',
    500: '#5988fb',
    950: '#000000',
  },
}
SCSS
$custom: #5988fb;
$custom-light: #97aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#5988fb",
  "rgb": {
    "r": 89,
    "g": 136,
    "b": 251
  },
  "hsl": {
    "h": 222.593,
    "s": 95.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65073,
    "c": 0.17859,
    "h": 265.1
  },
  "luminance": 0.26697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5988FB

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

Preview Lab → · Contrast checker → · Palette generator →

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