#5798E8#5798E8

#5798E8 is a light, vivid cyan. Relative luminance 0.303; OKLCH L 67.2% C 0.137 H 254.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5798E8
RGBrgb(87, 152, 232)
HSLhsl(213, 76%, 63%)
HSVhsv(213, 63%, 91%)
CMYKcmyk(62.5%, 34.5%, 0%, 9%)
CIE-LABlab(61.92, 3.51, -46.59)
CIE-LCHlch(61.92, 46.72, 274.31°)
OKLaboklab(67.22% -0.0363 -0.132)
OKLCHoklch(67.22% 0.137 254.6)
XYZxyz(29.7189, 30.3061, 80.6118)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798E8 #E8A757
analogous
#57E1E8 #5798E8 #5E57E8
triadic
#5798E8 #E85798 #98E857
tetradic
#5798E8 #E857E1 #E8A757 #57E85E
square
#5798E8 #E857E1 #E8A757 #57E85E
split-complementary
#5798E8 #E85E57 #E1E857
monochromatic
#185BAD #2177E1 #5798E8 #8DB9EF #C3DAF7

Accessibility & contrast

On white

2.97
#5798E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#5798E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5798E8
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798E8#FFFFFF#000000##000000
##5798E81.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#769DEB
Deuteranopia (green-blind)
#628FE6
Tritanopia (blue-blind)
#00AAB5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5798e8;
/* rgb */ color: rgb(87, 152, 232);
/* oklch */ color: oklch(67.2% 0.137 254.6);
Tailwind
colors: {
  custom: {
    50: '#93b5ef',
    500: '#5798e8',
    950: '#000000',
  },
}
SCSS
$custom: #5798e8;
$custom-light: #93b5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5798e8",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 232
  },
  "hsl": {
    "h": 213.103,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.67215,
    "c": 0.13689,
    "h": 254.6
  },
  "luminance": 0.30309
}

Semantic roles & 50–950 ramp

primary
#5798E8
secondary
#E8D0B3
accent
#7D0DD8
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5798E8

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

Preview Lab → · Contrast checker → · Palette generator →

#5798E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva