#5899F6#5899F6

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

Color values

HEX#5899F6
RGBrgb(88, 153, 246)
HSLhsl(215, 90%, 65%)
HSVhsv(215, 64%, 96%)
CMYKcmyk(64.2%, 37.8%, 0%, 3.5%)
CIE-LABlab(62.93, 7.76, -52.68)
CIE-LCHlch(62.93, 53.25, 278.38°)
OKLaboklab(68.25% -0.0332 -0.1498)
OKLCHoklch(68.25% 0.153 257.5)
XYZxyz(32.0443, 31.5079, 91.5638)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5899F6 #F6B558
analogous
#58E8F6 #5899F6 #6658F6
triadic
#5899F6 #F65899 #99F658
tetradic
#5899F6 #F658E8 #F6B558 #58F666
square
#5899F6 #F658E8 #F6B558 #58F666
split-complementary
#5899F6 #F66658 #E8F658
monochromatic
#0B59C9 #1E76F3 #5899F6 #92BCF9 #CCE0FC

Accessibility & contrast

On white

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

On black

7.30
#5899F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5899F6
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5899F6#FFFFFF#000000##000000
##5899F61.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A0FA
Deuteranopia (green-blind)
#5991F4
Tritanopia (blue-blind)
#00AEBC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5899f6;
/* rgb */ color: rgb(88, 153, 246);
/* oklch */ color: oklch(68.2% 0.153 257.5);
Tailwind
colors: {
  custom: {
    50: '#95b6f9',
    500: '#5899f6',
    950: '#000000',
  },
}
SCSS
$custom: #5899f6;
$custom-light: #95b6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5899f6",
  "rgb": {
    "r": 88,
    "g": 153,
    "b": 246
  },
  "hsl": {
    "h": 215.316,
    "s": 89.773,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68248,
    "c": 0.15343,
    "h": 257.5
  },
  "luminance": 0.31511
}

Semantic roles & 50–950 ramp

primary
#5899F6
secondary
#EFDABA
accent
#8700E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5899F6

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

Preview Lab → · Contrast checker → · Palette generator →

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