#5988F4#5988F4

#5988F4 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.6% C 0.169 H 264.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5988F4
RGBrgb(89, 136, 244)
HSLhsl(222, 88%, 65%)
HSVhsv(222, 64%, 96%)
CMYKcmyk(63.5%, 44.3%, 0%, 4.3%)
CIE-LABlab(58.28, 17.37, -58.99)
CIE-LCHlch(58.28, 61.50, 286.41°)
OKLaboklab(64.63% -0.0163 -0.1685)
OKLCHoklch(64.63% 0.169 264.5)
XYZxyz(29.2474, 26.2611, 89.0980)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5988F4 #F4C559
analogous
#59D6F4 #5988F4 #7759F4
triadic
#5988F4 #F45988 #88F459
tetradic
#5988F4 #F459D6 #F4C559 #59F477
square
#5988F4 #F459D6 #F4C559 #59F477
split-complementary
#5988F4 #F47759 #D6F459
monochromatic
#0D45C6 #205FF0 #5988F4 #92B1F8 #CCDAFC

Accessibility & contrast

On white

3.36
#5988F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#5988F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5988F4
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5988F4#FFFFFF#000000##000000
##5988F41.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5494F8
Deuteranopia (green-blind)
#3A85F2
Tritanopia (blue-blind)
#00A1B2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5988f4;
/* rgb */ color: rgb(89, 136, 244);
/* oklch */ color: oklch(64.6% 0.169 264.5);
Tailwind
colors: {
  custom: {
    50: '#96aaf8',
    500: '#5988f4',
    950: '#000000',
  },
}
SCSS
$custom: #5988f4;
$custom-light: #96aaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5988f4",
  "rgb": {
    "r": 89,
    "g": 136,
    "b": 244
  },
  "hsl": {
    "h": 221.806,
    "s": 87.571,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6463,
    "c": 0.1693,
    "h": 264.5
  },
  "luminance": 0.26264
}

Semantic roles & 50–950 ramp

primary
#5988F4
secondary
#EFDFBA
accent
#9F01E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5988F4

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

Preview Lab → · Contrast checker → · Palette generator →

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