#5798E9#5798E9

#5798E9 is a light, vivid cyan. Relative luminance 0.304; OKLCH L 67.3% C 0.138 H 254.9°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5798E9
RGBrgb(87, 152, 233)
HSLhsl(213, 77%, 63%)
HSVhsv(213, 63%, 91%)
CMYKcmyk(62.7%, 34.8%, 0%, 8.6%)
CIE-LABlab(61.97, 3.85, -47.06)
CIE-LCHlch(61.97, 47.22, 274.67°)
OKLaboklab(67.27% -0.036 -0.1334)
OKLCHoklch(67.27% 0.138 254.9)
XYZxyz(29.8614, 30.3631, 81.3620)
Luminance0.3037 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798E9 #E9A857
analogous
#57E1E9 #5798E9 #5F57E9
triadic
#5798E9 #E95798 #98E957
tetradic
#5798E9 #E957E1 #E9A857 #57E95F
square
#5798E9 #E957E1 #E9A857 #57E95F
split-complementary
#5798E9 #E95F57 #E1E957
monochromatic
#175AAF #2177E2 #5798E9 #8DB9F0 #C3DAF7

Accessibility & contrast

On white

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

On black

7.07
#5798E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5798E9
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798E9#FFFFFF#000000##000000
##5798E91.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#759DEC
Deuteranopia (green-blind)
#618FE7
Tritanopia (blue-blind)
#00ABB6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5798e9;
/* rgb */ color: rgb(87, 152, 233);
/* oklch */ color: oklch(67.3% 0.138 254.9);
Tailwind
colors: {
  custom: {
    50: '#93b5f0',
    500: '#5798e9',
    950: '#000000',
  },
}
SCSS
$custom: #5798e9;
$custom-light: #93b5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5798e9",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 233
  },
  "hsl": {
    "h": 213.288,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6727,
    "c": 0.13817,
    "h": 254.9
  },
  "luminance": 0.30366
}

Semantic roles & 50–950 ramp

primary
#5798E9
secondary
#E8D1B3
accent
#7E0CD9
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5798E9

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

Preview Lab → · Contrast checker → · Palette generator →

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