#5798D9#5798D9

#5798D9 is a light, moderate cyan. Relative luminance 0.295; OKLCH L 66.4% C 0.118 H 250.0°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5798D9
RGBrgb(87, 152, 217)
HSLhsl(210, 63%, 60%)
HSVhsv(210, 60%, 85%)
CMYKcmyk(59.9%, 30%, 0%, 14.9%)
CIE-LABlab(61.21, -1.39, -39.38)
CIE-LCHlch(61.21, 39.40, 267.97°)
OKLaboklab(66.43% -0.0404 -0.111)
OKLCHoklch(66.43% 0.118 250)
XYZxyz(27.6786, 29.4899, 69.8657)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5798D9 #D99857
analogous
#57D9D9 #5798D9 #5757D9
triadic
#5798D9 #D95798 #98D957
tetradic
#5798D9 #D957D9 #D99857 #57D957
square
#5798D9 #D957D9 #D99857 #57D957
split-complementary
#5798D9 #D95757 #D9D957
monochromatic
#215B94 #2D79C6 #5798D9 #89B7E4 #BBD5F0

Accessibility & contrast

On white

3.04
#5798D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#5798D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5798D9
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5798D9#FFFFFF#000000##000000
##5798D91.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9BDC
Deuteranopia (green-blind)
#6B8ED8
Tritanopia (blue-blind)
#00A7AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5798d9;
/* rgb */ color: rgb(87, 152, 217);
/* oklch */ color: oklch(66.4% 0.118 250.0);
Tailwind
colors: {
  custom: {
    50: '#91b6e5',
    500: '#5798d9',
    950: '#000000',
  },
}
SCSS
$custom: #5798d9;
$custom-light: #91b6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5798d9",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 217
  },
  "hsl": {
    "h": 210,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66431,
    "c": 0.11813,
    "h": 250
  },
  "luminance": 0.29492
}

Semantic roles & 50–950 ramp

primary
#5798D9
secondary
#DFC6AD
accent
#9442E6
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1115
muted
#7E8084

Preview Lab

Preview with #5798D9

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

Preview Lab → · Contrast checker → · Palette generator →

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