#5798CA#5798CA

#5798CA is a light, moderate cyan. Relative luminance 0.287; OKLCH L 65.7% C 0.100 H 243.4°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5798CA
RGBrgb(87, 152, 202)
HSLhsl(206, 52%, 57%)
HSVhsv(206, 57%, 79%)
CMYKcmyk(56.9%, 24.8%, 0%, 20.8%)
CIE-LABlab(60.56, -6.18, -32.02)
CIE-LCHlch(60.56, 32.61, 259.08°)
OKLaboklab(65.7% -0.045 -0.0897)
OKLCHoklch(65.7% 0.1 243.4)
XYZxyz(25.8155, 28.7447, 60.0535)
Luminance0.2875 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798CA #CA8957
analogous
#57CAC3 #5798CA #575FCA
triadic
#5798CA #CA5798 #98CA57
tetradic
#5798CA #C357CA #CA8957 #5FCA57
square
#5798CA #C357CA #CA8957 #5FCA57
split-complementary
#5798CA #CA575F #CAC357
monochromatic
#28597F #377AAD #5798CA #86B5D9 #B4D1E7

Accessibility & contrast

On white

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

On black

6.75
#5798CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5798CA
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798CA#FFFFFF#000000##000000
##5798CA1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8299CC
Deuteranopia (green-blind)
#738DC9
Tritanopia (blue-blind)
#00A4A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5798ca;
/* rgb */ color: rgb(87, 152, 202);
/* oklch */ color: oklch(65.7% 0.100 243.4);
Tailwind
colors: {
  custom: {
    50: '#8fb6da',
    500: '#5798ca',
    950: '#000000',
  },
}
SCSS
$custom: #5798ca;
$custom-light: #8fb6da;
$custom-dark: #000000;
JSON
{
  "hex": "#5798ca",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 202
  },
  "hsl": {
    "h": 206.087,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.65698,
    "c": 0.1004,
    "h": 243.4
  },
  "luminance": 0.28747
}

Semantic roles & 50–950 ramp

primary
#5798CA
secondary
#D6BBA7
accent
#8B4CDB
background
#F9FBFD
surface
#F1F6FA
border
#CBD0D3
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5798CA

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

Preview Lab → · Contrast checker → · Palette generator →

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