#5898F5#5898F5

#5898F5 is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.0% C 0.153 H 257.8°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5898F5
RGBrgb(88, 152, 245)
HSLhsl(216, 89%, 65%)
HSVhsv(216, 64%, 96%)
CMYKcmyk(64.1%, 38%, 0%, 3.9%)
CIE-LABlab(62.61, 8.01, -52.65)
CIE-LCHlch(62.61, 53.26, 278.66°)
OKLaboklab(67.98% -0.0324 -0.1497)
OKLCHoklch(67.98% 0.153 257.8)
XYZxyz(31.7283, 31.1207, 90.7033)
Luminance0.3112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5898F5 #F5B558
analogous
#58E7F5 #5898F5 #6658F5
triadic
#5898F5 #F55898 #98F558
tetradic
#5898F5 #F558E7 #F5B558 #58F566
square
#5898F5 #F558E7 #F5B558 #58F566
split-complementary
#5898F5 #F56658 #E7F558
monochromatic
#0C58C7 #1E74F2 #5898F5 #92BCF8 #CBDFFC

Accessibility & contrast

On white

2.91
#5898F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#5898F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5898F5
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5898F5#FFFFFF#000000##000000
##5898F51.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9FF9
Deuteranopia (green-blind)
#5891F3
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5898f5;
/* rgb */ color: rgb(88, 152, 245);
/* oklch */ color: oklch(68.0% 0.153 257.8);
Tailwind
colors: {
  custom: {
    50: '#95b5f9',
    500: '#5898f5',
    950: '#000000',
  },
}
SCSS
$custom: #5898f5;
$custom-light: #95b5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5898f5",
  "rgb": {
    "r": 88,
    "g": 152,
    "b": 245
  },
  "hsl": {
    "h": 215.541,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67979,
    "c": 0.15318,
    "h": 257.8
  },
  "luminance": 0.31124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5898F5

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

Preview Lab → · Contrast checker → · Palette generator →

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