#5898FB#5898FB

#5898FB is a light, vivid blue. Relative luminance 0.315; OKLCH L 68.3% C 0.161 H 258.9°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#5898FB
RGBrgb(88, 152, 251)
HSLhsl(216, 95%, 66%)
HSVhsv(216, 65%, 98%)
CMYKcmyk(64.9%, 39.4%, 0%, 1.6%)
CIE-LABlab(62.92, 10.03, -55.44)
CIE-LCHlch(62.92, 56.34, 280.25°)
OKLaboklab(68.32% -0.0311 -0.1579)
OKLCHoklch(68.32% 0.161 258.9)
XYZxyz(32.6591, 31.4930, 95.6057)
Luminance0.3150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5898FB #FBBB58
analogous
#58E9FB #5898FB #6A58FB
triadic
#5898FB #FB5898 #98FB58
tetradic
#5898FB #FB58E9 #FBBB58 #58FB6A
square
#5898FB #FB58E9 #FBBB58 #58FB6A
split-complementary
#5898FB #FB6A58 #E9FB58
monochromatic
#0556D4 #1C73FA #5898FB #94BDFC #D0E2FE

Accessibility & contrast

On white

2.88
#5898FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#5898FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5898FB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5898FB#FFFFFF#000000##000000
##5898FB1.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)
#6BA0FF
Deuteranopia (green-blind)
#5391F9
Tritanopia (blue-blind)
#00AFBD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5898fb;
/* rgb */ color: rgb(88, 152, 251);
/* oklch */ color: oklch(68.3% 0.161 258.9);
Tailwind
colors: {
  custom: {
    50: '#96b5fd',
    500: '#5898fb',
    950: '#000000',
  },
}
SCSS
$custom: #5898fb;
$custom-light: #96b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5898fb",
  "rgb": {
    "r": 88,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 216.442,
    "s": 95.322,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68323,
    "c": 0.16094,
    "h": 258.9
  },
  "luminance": 0.31496
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5898FB

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

Preview Lab → · Contrast checker → · Palette generator →

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