#5798EB#5798EB

#5798EB is a light, vivid cyan. Relative luminance 0.305; OKLCH L 67.4% C 0.141 H 255.4°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5798EB
RGBrgb(87, 152, 235)
HSLhsl(214, 79%, 63%)
HSVhsv(214, 63%, 92%)
CMYKcmyk(63%, 35.3%, 0%, 7.8%)
CIE-LABlab(62.06, 4.51, -48.01)
CIE-LCHlch(62.06, 48.22, 275.37°)
OKLaboklab(67.38% -0.0355 -0.1362)
OKLCHoklch(67.38% 0.141 255.4)
XYZxyz(30.1487, 30.4780, 82.8752)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798EB #EBAA57
analogous
#57E2EB #5798EB #6057EB
triadic
#5798EB #EB5798 #98EB57
tetradic
#5798EB #EB57E2 #EBAA57 #57EB60
square
#5798EB #EB57E2 #EBAA57 #57EB60
split-complementary
#5798EB #EB6057 #E2EB57
monochromatic
#155AB2 #2076E4 #5798EB #8EBAF2 #C4DBF8

Accessibility & contrast

On white

2.96
#5798EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#5798EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5798EB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798EB#FFFFFF#000000##000000
##5798EB1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EEE
Deuteranopia (green-blind)
#6090E9
Tritanopia (blue-blind)
#00ABB6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5798eb;
/* rgb */ color: rgb(87, 152, 235);
/* oklch */ color: oklch(67.4% 0.141 255.4);
Tailwind
colors: {
  custom: {
    50: '#93b5f2',
    500: '#5798eb',
    950: '#000000',
  },
}
SCSS
$custom: #5798eb;
$custom-light: #93b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5798eb",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 213.649,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67378,
    "c": 0.14072,
    "h": 255.4
  },
  "luminance": 0.30481
}

Semantic roles & 50–950 ramp

primary
#5798EB
secondary
#E9D2B4
accent
#7F0ADB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5798EB

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

Preview Lab → · Contrast checker → · Palette generator →

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