#5798DF#5798DF

#5798DF is a light, vivid cyan. Relative luminance 0.298; OKLCH L 66.7% C 0.126 H 252.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5798DF
RGBrgb(87, 152, 223)
HSLhsl(211, 68%, 61%)
HSVhsv(211, 61%, 87%)
CMYKcmyk(61%, 31.8%, 0%, 12.5%)
CIE-LABlab(61.49, 0.56, -42.28)
CIE-LCHlch(61.49, 42.28, 270.75°)
OKLaboklab(66.74% -0.0387 -0.1194)
OKLCHoklch(66.74% 0.126 252.1)
XYZxyz(28.4732, 29.8078, 74.0507)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798DF #DF9E57
analogous
#57DCDF #5798DF #5A57DF
triadic
#5798DF #DF5798 #98DF57
tetradic
#5798DF #DF57DC #DF9E57 #57DF5A
square
#5798DF #DF57DC #DF9E57 #57DF5A
split-complementary
#5798DF #DF5A57 #DCDF57
monochromatic
#1E5B9E #2879D1 #5798DF #8AB8E9 #BED7F3

Accessibility & contrast

On white

3.02
#5798DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#5798DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5798DF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798DF#FFFFFF#000000##000000
##5798DF1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9CE2
Deuteranopia (green-blind)
#678FDE
Tritanopia (blue-blind)
#00A8B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5798df;
/* rgb */ color: rgb(87, 152, 223);
/* oklch */ color: oklch(66.7% 0.126 252.1);
Tailwind
colors: {
  custom: {
    50: '#92b6e9',
    500: '#5798df',
    950: '#000000',
  },
}
SCSS
$custom: #5798df;
$custom-light: #92b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5798df",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 211.324,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66739,
    "c": 0.12555,
    "h": 252.1
  },
  "luminance": 0.2981
}

Semantic roles & 50–950 ramp

primary
#5798DF
secondary
#E3CAAF
accent
#7716D0
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5798DF

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

Preview Lab → · Contrast checker → · Palette generator →

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