#5898FF#5898FF

#5898FF is a light, vivid blue. Relative luminance 0.318; OKLCH L 68.6% C 0.166 H 259.5°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5898FF
RGBrgb(88, 152, 255)
HSLhsl(217, 100%, 67%)
HSVhsv(217, 65%, 100%)
CMYKcmyk(65.5%, 40.4%, 0%, 0%)
CIE-LABlab(63.13, 11.38, -57.29)
CIE-LCHlch(63.13, 58.41, 281.23°)
OKLaboklab(68.56% -0.0303 -0.1633)
OKLCHoklch(68.56% 0.166 259.5)
XYZxyz(33.2963, 31.7479, 98.9616)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5898FF #FFBF58
analogous
#58ECFF #5898FF #6C58FF
triadic
#5898FF #FF5898 #98FF58
tetradic
#5898FF #FF58EC #FFBF58 #58FF6C
square
#5898FF #FF58EC #FFBF58 #58FF6C
split-complementary
#5898FF #FF6C58 #ECFF58
monochromatic
#0055DD #1B72FF #5898FF #95BEFF #D2E3FF

Accessibility & contrast

On white

2.86
#5898FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#5898FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5898FF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5898FF#FFFFFF#000000##000000
##5898FF1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#4F92FD
Tritanopia (blue-blind)
#00B0BF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5898ff;
/* rgb */ color: rgb(88, 152, 255);
/* oklch */ color: oklch(68.6% 0.166 259.5);
Tailwind
colors: {
  custom: {
    50: '#97b5ff',
    500: '#5898ff',
    950: '#000000',
  },
}
SCSS
$custom: #5898ff;
$custom-light: #97b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5898ff",
  "rgb": {
    "r": 88,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 217.006,
    "s": 100,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68556,
    "c": 0.16611,
    "h": 259.5
  },
  "luminance": 0.31751
}

Semantic roles & 50–950 ramp

primary
#5898FF
secondary
#F4E0BF
accent
#8E00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5898FF

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

Preview Lab → · Contrast checker → · Palette generator →

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