#5898E5#5898E5

#5898E5 is a light, vivid cyan. Relative luminance 0.302; OKLCH L 67.1% C 0.133 H 254.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5898E5
RGBrgb(88, 152, 229)
HSLhsl(213, 73%, 62%)
HSVhsv(213, 62%, 90%)
CMYKcmyk(61.6%, 33.6%, 0%, 10.2%)
CIE-LABlab(61.81, 2.71, -45.09)
CIE-LCHlch(61.81, 45.17, 273.43°)
OKLaboklab(67.1% -0.0363 -0.1276)
OKLCHoklch(67.1% 0.133 254.1)
XYZxyz(29.3905, 30.1856, 78.3911)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5898E5 #E5A558
analogous
#58DFE5 #5898E5 #5F58E5
triadic
#5898E5 #E55898 #98E558
tetradic
#5898E5 #E558DF #E5A558 #58E55F
square
#5898E5 #E558DF #E5A558 #58E55F
split-complementary
#5898E5 #E55F58 #DFE558
monochromatic
#1A5BA8 #2377DD #5898E5 #8DB9ED #C2D9F5

Accessibility & contrast

On white

2.98
#5898E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#5898E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5898E5
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5898E5#FFFFFF#000000##000000
##5898E51.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#779DE8
Deuteranopia (green-blind)
#648FE3
Tritanopia (blue-blind)
#00AAB4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5898e5;
/* rgb */ color: rgb(88, 152, 229);
/* oklch */ color: oklch(67.1% 0.133 254.1);
Tailwind
colors: {
  custom: {
    50: '#93b6ed',
    500: '#5898e5',
    950: '#000000',
  },
}
SCSS
$custom: #5898e5;
$custom-light: #93b6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5898e5",
  "rgb": {
    "r": 88,
    "g": 152,
    "b": 229
  },
  "hsl": {
    "h": 212.766,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67099,
    "c": 0.13267,
    "h": 254.1
  },
  "luminance": 0.30188
}

Semantic roles & 50–950 ramp

primary
#5898E5
secondary
#E6CFB3
accent
#7C10D5
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5898E5

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

Preview Lab → · Contrast checker → · Palette generator →

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