#5899FB#5899FB

#5899FB is a light, vivid blue. Relative luminance 0.318; OKLCH L 68.5% C 0.160 H 258.4°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5899FB
RGBrgb(88, 153, 251)
HSLhsl(216, 95%, 66%)
HSVhsv(216, 65%, 98%)
CMYKcmyk(64.9%, 39%, 0%, 1.6%)
CIE-LABlab(63.19, 9.44, -55.01)
CIE-LCHlch(63.19, 55.82, 279.74°)
OKLaboklab(68.53% -0.0321 -0.1566)
OKLCHoklch(68.53% 0.16 258.4)
XYZxyz(32.8221, 31.8190, 95.6600)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5899FB #FBBA58
analogous
#58EAFB #5899FB #6958FB
triadic
#5899FB #FB5899 #99FB58
tetradic
#5899FB #FB58EA #FBBA58 #58FB69
square
#5899FB #FB58EA #FBBA58 #58FB69
split-complementary
#5899FB #FB6958 #EAFB58
monochromatic
#0557D4 #1C74FA #5899FB #94BEFC #D0E2FE

Accessibility & contrast

On white

2.85
#5899FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#5899FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5899FB
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5899FB#FFFFFF#000000##000000
##5899FB1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FF
Deuteranopia (green-blind)
#5592F9
Tritanopia (blue-blind)
#00AFBE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5899fb;
/* rgb */ color: rgb(88, 153, 251);
/* oklch */ color: oklch(68.5% 0.160 258.4);
Tailwind
colors: {
  custom: {
    50: '#96b6fd',
    500: '#5899fb',
    950: '#000000',
  },
}
SCSS
$custom: #5899fb;
$custom-light: #96b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5899fb",
  "rgb": {
    "r": 88,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 216.074,
    "s": 95.322,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68533,
    "c": 0.15987,
    "h": 258.4
  },
  "luminance": 0.31822
}

Semantic roles & 50–950 ramp

primary
#5899FB
secondary
#F2DDBD
accent
#8A00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1118
muted
#7E8086

Preview Lab

Preview with #5899FB

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

Preview Lab → · Contrast checker → · Palette generator →

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