#5798E4#5798E4

#5798E4 is a light, vivid cyan. Relative luminance 0.301; OKLCH L 67.0% C 0.132 H 253.6°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#5798E4
RGBrgb(87, 152, 228)
HSLhsl(212, 72%, 62%)
HSVhsv(212, 62%, 89%)
CMYKcmyk(61.8%, 33.3%, 0%, 10.6%)
CIE-LABlab(61.72, 2.20, -44.68)
CIE-LCHlch(61.72, 44.73, 272.81°)
OKLaboklab(67% -0.0373 -0.1264)
OKLCHoklch(67% 0.132 253.6)
XYZxyz(29.1572, 30.0814, 77.6535)
Luminance0.3008 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798E4 #E4A357
analogous
#57DFE4 #5798E4 #5C57E4
triadic
#5798E4 #E45798 #98E457
tetradic
#5798E4 #E457DF #E4A357 #57E45C
square
#5798E4 #E457DF #E4A357 #57E45C
split-complementary
#5798E4 #E45C57 #DFE457
monochromatic
#1B5BA6 #2378DB #5798E4 #8CB8EC #C0D9F5

Accessibility & contrast

On white

2.99
#5798E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#5798E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5798E4
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798E4#FFFFFF#000000##000000
##5798E41.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#779CE7
Deuteranopia (green-blind)
#648FE2
Tritanopia (blue-blind)
#00A9B3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5798e4;
/* rgb */ color: rgb(87, 152, 228);
/* oklch */ color: oklch(67.0% 0.132 253.6);
Tailwind
colors: {
  custom: {
    50: '#92b6ed',
    500: '#5798e4',
    950: '#000000',
  },
}
SCSS
$custom: #5798e4;
$custom-light: #92b6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5798e4",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 228
  },
  "hsl": {
    "h": 212.34,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67001,
    "c": 0.13183,
    "h": 253.6
  },
  "luminance": 0.30084
}

Semantic roles & 50–950 ramp

primary
#5798E4
secondary
#E6CDB1
accent
#7A11D4
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5798E4

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

Preview Lab → · Contrast checker → · Palette generator →

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