#5798CB#5798CB

#5798CB is a light, moderate cyan. Relative luminance 0.288; OKLCH L 65.7% C 0.102 H 243.9°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5798CB
RGBrgb(87, 152, 203)
HSLhsl(206, 53%, 57%)
HSVhsv(206, 57%, 80%)
CMYKcmyk(57.1%, 25.1%, 0%, 20.4%)
CIE-LABlab(60.60, -5.86, -32.52)
CIE-LCHlch(60.60, 33.04, 259.78°)
OKLaboklab(65.75% -0.0447 -0.0912)
OKLCHoklch(65.75% 0.102 243.9)
XYZxyz(25.9343, 28.7922, 60.6791)
Luminance0.2879 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798CB #CB8A57
analogous
#57CBC4 #5798CB #575ECB
triadic
#5798CB #CB5798 #98CB57
tetradic
#5798CB #C457CB #CB8A57 #5ECB57
square
#5798CB #C457CB #CB8A57 #5ECB57
split-complementary
#5798CB #CB575E #CBC457
monochromatic
#285980 #367AAF #5798CB #86B5D9 #B4D1E8

Accessibility & contrast

On white

3.11
#5798CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#5798CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5798CB
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798CB#FFFFFF#000000##000000
##5798CB1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8299CD
Deuteranopia (green-blind)
#728DCA
Tritanopia (blue-blind)
#00A4A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5798cb;
/* rgb */ color: rgb(87, 152, 203);
/* oklch */ color: oklch(65.7% 0.102 243.9);
Tailwind
colors: {
  custom: {
    50: '#8fb6db',
    500: '#5798cb',
    950: '#000000',
  },
}
SCSS
$custom: #5798cb;
$custom-light: #8fb6db;
$custom-dark: #000000;
JSON
{
  "hex": "#5798cb",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 203
  },
  "hsl": {
    "h": 206.379,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.65745,
    "c": 0.10153,
    "h": 243.9
  },
  "luminance": 0.28795
}

Semantic roles & 50–950 ramp

primary
#5798CB
secondary
#D7BCA7
accent
#8B4CDC
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5798CB

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

Preview Lab → · Contrast checker → · Palette generator →

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