#5798ED#5798ED

#5798ED is a light, vivid cyan. Relative luminance 0.306; OKLCH L 67.5% C 0.143 H 255.8°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5798ED
RGBrgb(87, 152, 237)
HSLhsl(214, 81%, 64%)
HSVhsv(214, 63%, 93%)
CMYKcmyk(63.3%, 35.9%, 0%, 7.1%)
CIE-LABlab(62.16, 5.17, -48.96)
CIE-LCHlch(62.16, 49.23, 276.03°)
OKLaboklab(67.49% -0.035 -0.1389)
OKLCHoklch(67.49% 0.143 255.8)
XYZxyz(30.4393, 30.5942, 84.4055)
Luminance0.3060 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798ED #EDAC57
analogous
#57E3ED #5798ED #6157ED
triadic
#5798ED #ED5798 #98ED57
tetradic
#5798ED #ED57E3 #EDAC57 #57ED61
square
#5798ED #ED57E3 #EDAC57 #57ED61
split-complementary
#5798ED #ED6157 #E3ED57
monochromatic
#145AB6 #2076E7 #5798ED #8EBAF3 #C6DCF9

Accessibility & contrast

On white

2.95
#5798ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#5798ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5798ED
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798ED#FFFFFF#000000##000000
##5798ED1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF0
Deuteranopia (green-blind)
#5E90EB
Tritanopia (blue-blind)
#00ABB7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5798ed;
/* rgb */ color: rgb(87, 152, 237);
/* oklch */ color: oklch(67.5% 0.143 255.8);
Tailwind
colors: {
  custom: {
    50: '#94b5f3',
    500: '#5798ed',
    950: '#000000',
  },
}
SCSS
$custom: #5798ed;
$custom-light: #94b5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5798ed",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 237
  },
  "hsl": {
    "h": 214,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67488,
    "c": 0.14328,
    "h": 255.8
  },
  "luminance": 0.30597
}

Semantic roles & 50–950 ramp

primary
#5798ED
secondary
#EAD3B5
accent
#8109DD
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5798ED

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

Preview Lab → · Contrast checker → · Palette generator →

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