#5988F6#5988F6

#5988F6 is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.8% C 0.172 H 264.7°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5988F6
RGBrgb(89, 136, 246)
HSLhsl(222, 90%, 66%)
HSVhsv(222, 64%, 96%)
CMYKcmyk(63.8%, 44.7%, 0%, 3.5%)
CIE-LABlab(58.40, 18.05, -59.91)
CIE-LCHlch(58.40, 62.57, 286.76°)
OKLaboklab(64.76% -0.016 -0.1712)
OKLCHoklch(64.76% 0.172 264.7)
XYZxyz(29.5528, 26.3832, 90.7060)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5988F6 #F6C759
analogous
#59D7F6 #5988F6 #7859F6
triadic
#5988F6 #F65988 #88F659
tetradic
#5988F6 #F659D7 #F6C759 #59F678
square
#5988F6 #F659D7 #F6C759 #59F678
split-complementary
#5988F6 #F67859 #D7F659
monochromatic
#0B44CA #1F5EF3 #5988F6 #93B2F9 #CDDBFC

Accessibility & contrast

On white

3.35
#5988F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#5988F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5988F6
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5988F6#FFFFFF#000000##000000
##5988F61.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5394FA
Deuteranopia (green-blind)
#3786F4
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5988f6;
/* rgb */ color: rgb(89, 136, 246);
/* oklch */ color: oklch(64.8% 0.172 264.7);
Tailwind
colors: {
  custom: {
    50: '#96aafa',
    500: '#5988f6',
    950: '#000000',
  },
}
SCSS
$custom: #5988f6;
$custom-light: #96aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#5988f6",
  "rgb": {
    "r": 89,
    "g": 136,
    "b": 246
  },
  "hsl": {
    "h": 222.038,
    "s": 89.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64756,
    "c": 0.17196,
    "h": 264.7
  },
  "luminance": 0.26386
}

Semantic roles & 50–950 ramp

primary
#5988F6
secondary
#F0E0BB
accent
#A100E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5988F6

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

Preview Lab → · Contrast checker → · Palette generator →

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