#5795CD#5795CD

#5795CD is a light, moderate cyan. Relative luminance 0.279; OKLCH L 65.2% C 0.106 H 247.4°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5795CD
RGBrgb(87, 149, 205)
HSLhsl(208, 54%, 57%)
HSVhsv(208, 58%, 80%)
CMYKcmyk(57.6%, 27.3%, 0%, 19.6%)
CIE-LABlab(59.82, -3.53, -34.85)
CIE-LCHlch(59.82, 35.03, 264.22°)
OKLaboklab(65.16% -0.0407 -0.0979)
OKLCHoklch(65.16% 0.106 247.4)
XYZxyz(25.6934, 27.9266, 61.7822)
Luminance0.2793 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795CD #CD8F57
analogous
#57CDCA #5795CD #575ACD
triadic
#5795CD #CD5795 #95CD57
tetradic
#5795CD #CA57CD #CD8F57 #5ACD57
square
#5795CD #CA57CD #CD8F57 #5ACD57
split-complementary
#5795CD #CD575A #CDCA57
monochromatic
#275783 #3577B2 #5795CD #86B3DB #B5D1E9

Accessibility & contrast

On white

3.19
#5795CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#5795CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795CD
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795CD#FFFFFF#000000##000000
##5795CD1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D97D0
Deuteranopia (green-blind)
#6E8BCC
Tritanopia (blue-blind)
#00A2A8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5795cd;
/* rgb */ color: rgb(87, 149, 205);
/* oklch */ color: oklch(65.2% 0.106 247.4);
Tailwind
colors: {
  custom: {
    50: '#8fb4dc',
    500: '#5795cd',
    950: '#000000',
  },
}
SCSS
$custom: #5795cd;
$custom-light: #8fb4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5795cd",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 205
  },
  "hsl": {
    "h": 208.475,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.65162,
    "c": 0.10603,
    "h": 247.4
  },
  "luminance": 0.27929
}

Semantic roles & 50–950 ramp

primary
#5795CD
secondary
#D8BFA8
accent
#904ADD
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5795CD

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

Preview Lab → · Contrast checker → · Palette generator →

#5795CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva