#5798BF#5798BF

#5798BF is a light, moderate cyan. Relative luminance 0.282; OKLCH L 65.2% C 0.089 H 236.6°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5798BF
RGBrgb(87, 152, 191)
HSLhsl(203, 45%, 55%)
HSVhsv(203, 54%, 75%)
CMYKcmyk(54.5%, 20.4%, 0%, 25.1%)
CIE-LABlab(60.11, -9.58, -26.54)
CIE-LCHlch(60.11, 28.22, 250.15°)
OKLaboklab(65.2% -0.0487 -0.074)
OKLCHoklch(65.2% 0.089 236.6)
XYZxyz(24.5592, 28.2422, 53.4372)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798BF #BF7E57
analogous
#57BFB2 #5798BF #5764BF
triadic
#5798BF #BF5798 #98BF57
tetradic
#5798BF #B257BF #BF7E57 #64BF57
square
#5798BF #B257BF #BF7E57 #64BF57
split-complementary
#5798BF #BF5764 #BFB257
monochromatic
#2B5771 #3C799D #5798BF #83B3D0 #B0CEE1

Accessibility & contrast

On white

3.16
#5798BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#5798BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5798BF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798BF#FFFFFF#000000##000000
##5798BF1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8697C1
Deuteranopia (green-blind)
#788CBE
Tritanopia (blue-blind)
#08A2A5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5798bf;
/* rgb */ color: rgb(87, 152, 191);
/* oklch */ color: oklch(65.2% 0.089 236.6);
Tailwind
colors: {
  custom: {
    50: '#8eb6d2',
    500: '#5798bf',
    950: '#000000',
  },
}
SCSS
$custom: #5798bf;
$custom-light: #8eb6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5798bf",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 191
  },
  "hsl": {
    "h": 202.5,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.65195,
    "c": 0.08862,
    "h": 236.6
  },
  "luminance": 0.28244
}

Semantic roles & 50–950 ramp

primary
#5798BF
secondary
#CFB3A3
accent
#8453D5
background
#F9FBFC
surface
#F1F6F9
border
#CBD0D2
text
#0D1114
muted
#7E8082

Preview Lab

Preview with #5798BF

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

Preview Lab → · Contrast checker → · Palette generator →

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