#5798AF#5798AF

#5798AF is a light, moderate cyan. Relative luminance 0.276; OKLCH L 64.5% C 0.075 H 223.0°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5798AF
RGBrgb(87, 152, 175)
HSLhsl(196, 35%, 51%)
HSVhsv(196, 50%, 69%)
CMYKcmyk(50.3%, 13.1%, 0%, 31.4%)
CIE-LABlab(59.50, -14.35, -18.43)
CIE-LCHlch(59.50, 23.36, 232.09°)
OKLaboklab(64.52% -0.0547 -0.051)
OKLCHoklch(64.52% 0.075 223)
XYZxyz(22.8937, 27.5760, 44.6654)
Luminance0.2758 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798AF #AF6E57
analogous
#57AF9A #5798AF #576CAF
triadic
#5798AF #AF5798 #98AF57
tetradic
#5798AF #9A57AF #AF6E57 #6CAF57
square
#5798AF #9A57AF #AF6E57 #6CAF57
split-complementary
#5798AF #AF576C #AF9A57
monochromatic
#2D525F #417588 #5798AF #80B1C3 #AACBD6

Accessibility & contrast

On white

3.22
#5798AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#5798AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5798AF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798AF#FFFFFF#000000##000000
##5798AF1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B95B0
Deuteranopia (green-blind)
#7E8BAF
Tritanopia (blue-blind)
#259F9F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5798af;
/* rgb */ color: rgb(87, 152, 175);
/* oklch */ color: oklch(64.5% 0.075 223.0);
Tailwind
colors: {
  custom: {
    50: '#8cb6c7',
    500: '#5798af',
    950: '#000000',
  },
}
SCSS
$custom: #5798af;
$custom-light: #8cb6c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5798af",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 175
  },
  "hsl": {
    "h": 195.682,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.64516,
    "c": 0.07479,
    "h": 223
  },
  "luminance": 0.27578
}

Semantic roles & 50–950 ramp

primary
#5798AF
secondary
#C4A89E
accent
#795CCC
background
#F8FBFC
surface
#F0F6F8
border
#CBD0D1
text
#0D1113
muted
#7D8082

Preview Lab

Preview with #5798AF

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

Preview Lab → · Contrast checker → · Palette generator →

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