#5798BD#5798BD

#5798BD is a light, moderate cyan. Relative luminance 0.282; OKLCH L 65.1% C 0.087 H 235.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5798BD
RGBrgb(87, 152, 189)
HSLhsl(202, 44%, 54%)
HSVhsv(202, 54%, 74%)
CMYKcmyk(54%, 19.6%, 0%, 25.9%)
CIE-LABlab(60.03, -10.19, -25.53)
CIE-LCHlch(60.03, 27.49, 248.24°)
OKLaboklab(65.11% -0.0495 -0.0711)
OKLCHoklch(65.11% 0.087 235.2)
XYZxyz(24.3406, 28.1548, 52.2860)
Luminance0.2816 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798BD #BD7C57
analogous
#57BDAF #5798BD #5765BD
triadic
#5798BD #BD5798 #98BD57
tetradic
#5798BD #AF57BD #BD7C57 #65BD57
square
#5798BD #AF57BD #BD7C57 #65BD57
split-complementary
#5798BD #BD5765 #BDAF57
monochromatic
#2B566E #3D789A #5798BD #83B3CE #AFCEE0

Accessibility & contrast

On white

3.17
#5798BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#5798BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5798BD
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798BD#FFFFFF#000000##000000
##5798BD1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8797BF
Deuteranopia (green-blind)
#788CBC
Tritanopia (blue-blind)
#0FA2A4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5798bd;
/* rgb */ color: rgb(87, 152, 189);
/* oklch */ color: oklch(65.1% 0.087 235.2);
Tailwind
colors: {
  custom: {
    50: '#8db6d1',
    500: '#5798bd',
    950: '#000000',
  },
}
SCSS
$custom: #5798bd;
$custom-light: #8db6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5798bd",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 189
  },
  "hsl": {
    "h": 201.765,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.65107,
    "c": 0.08664,
    "h": 235.2
  },
  "luminance": 0.28157
}

Semantic roles & 50–950 ramp

primary
#5798BD
secondary
#CEB2A2
accent
#8254D3
background
#F9FBFC
surface
#F1F6F9
border
#CBD0D2
text
#0D1114
muted
#7E8082

Preview Lab

Preview with #5798BD

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

Preview Lab → · Contrast checker → · Palette generator →

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