#5798E3#5798E3

#5798E3 is a light, vivid cyan. Relative luminance 0.300; OKLCH L 66.9% C 0.131 H 253.3°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5798E3
RGBrgb(87, 152, 227)
HSLhsl(212, 71%, 62%)
HSVhsv(212, 62%, 89%)
CMYKcmyk(61.7%, 33%, 0%, 11%)
CIE-LABlab(61.68, 1.87, -44.20)
CIE-LCHlch(61.68, 44.24, 272.42°)
OKLaboklab(66.95% -0.0376 -0.125)
OKLCHoklch(66.95% 0.131 253.3)
XYZxyz(29.0188, 30.0260, 76.9245)
Luminance0.3003 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798E3 #E3A257
analogous
#57DEE3 #5798E3 #5C57E3
triadic
#5798E3 #E35798 #98E357
tetradic
#5798E3 #E357DE #E3A257 #57E35C
square
#5798E3 #E357DE #E3A257 #57E35C
split-complementary
#5798E3 #E35C57 #DEE357
monochromatic
#1B5BA4 #2478D9 #5798E3 #8BB8EC #C0D8F4

Accessibility & contrast

On white

3.00
#5798E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#5798E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5798E3
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798E3#FFFFFF#000000##000000
##5798E31.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#789CE6
Deuteranopia (green-blind)
#658FE1
Tritanopia (blue-blind)
#00A9B3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5798e3;
/* rgb */ color: rgb(87, 152, 227);
/* oklch */ color: oklch(66.9% 0.131 253.3);
Tailwind
colors: {
  custom: {
    50: '#92b6ec',
    500: '#5798e3',
    950: '#000000',
  },
}
SCSS
$custom: #5798e3;
$custom-light: #92b6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5798e3",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 227
  },
  "hsl": {
    "h": 212.143,
    "s": 71.429,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66948,
    "c": 0.13056,
    "h": 253.3
  },
  "luminance": 0.30029
}

Semantic roles & 50–950 ramp

primary
#5798E3
secondary
#E5CDB1
accent
#7A12D3
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5798E3

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

Preview Lab → · Contrast checker → · Palette generator →

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