#5899F5#5899F5

#5899F5 is a light, vivid blue. Relative luminance 0.315; OKLCH L 68.2% C 0.152 H 257.3°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5899F5
RGBrgb(88, 153, 245)
HSLhsl(215, 89%, 65%)
HSVhsv(215, 64%, 96%)
CMYKcmyk(64.1%, 37.6%, 0%, 3.9%)
CIE-LABlab(62.88, 7.43, -52.22)
CIE-LCHlch(62.88, 52.74, 278.10°)
OKLaboklab(68.19% -0.0334 -0.1484)
OKLCHoklch(68.19% 0.152 257.3)
XYZxyz(31.8912, 31.4467, 90.7576)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5899F5 #F5B458
analogous
#58E8F5 #5899F5 #6558F5
triadic
#5899F5 #F55899 #99F558
tetradic
#5899F5 #F558E8 #F5B458 #58F565
square
#5899F5 #F558E8 #F5B458 #58F565
split-complementary
#5899F5 #F56558 #E8F558
monochromatic
#0C59C7 #1E76F2 #5899F5 #92BCF8 #CBE0FC

Accessibility & contrast

On white

2.88
#5899F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#5899F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5899F5
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5899F5#FFFFFF#000000##000000
##5899F51.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A0F9
Deuteranopia (green-blind)
#5A91F3
Tritanopia (blue-blind)
#00AEBB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5899f5;
/* rgb */ color: rgb(88, 153, 245);
/* oklch */ color: oklch(68.2% 0.152 257.3);
Tailwind
colors: {
  custom: {
    50: '#95b6f9',
    500: '#5899f5',
    950: '#000000',
  },
}
SCSS
$custom: #5899f5;
$custom-light: #95b6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5899f5",
  "rgb": {
    "r": 88,
    "g": 153,
    "b": 245
  },
  "hsl": {
    "h": 215.159,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68191,
    "c": 0.15214,
    "h": 257.3
  },
  "luminance": 0.3145
}

Semantic roles & 50–950 ramp

primary
#5899F5
secondary
#EFD9BA
accent
#8600E5
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5899F5

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

Preview Lab → · Contrast checker → · Palette generator →

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