#5795C8#5795C8

#5795C8 is a light, moderate cyan. Relative luminance 0.277; OKLCH L 64.9% C 0.100 H 245.0°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5795C8
RGBrgb(87, 149, 200)
HSLhsl(207, 51%, 56%)
HSVhsv(207, 57%, 78%)
CMYKcmyk(56.5%, 25.5%, 0%, 21.6%)
CIE-LABlab(59.61, -5.11, -32.38)
CIE-LCHlch(59.61, 32.78, 261.03°)
OKLaboklab(64.92% -0.0423 -0.0908)
OKLCHoklch(64.92% 0.1 245)
XYZxyz(25.0995, 27.6891, 58.6542)
Luminance0.2769 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795C8 #C88A57
analogous
#57C8C3 #5795C8 #575DC8
triadic
#5795C8 #C85795 #95C857
tetradic
#5795C8 #C357C8 #C88A57 #5DC857
square
#5795C8 #C357C8 #C88A57 #5DC857
split-complementary
#5795C8 #C8575D #C8C357
monochromatic
#29567C #3876AA #5795C8 #85B2D7 #B3CFE6

Accessibility & contrast

On white

3.21
#5795C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#5795C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795C8
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795C8#FFFFFF#000000##000000
##5795C81.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F96CA
Deuteranopia (green-blind)
#708BC7
Tritanopia (blue-blind)
#00A1A6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5795c8;
/* rgb */ color: rgb(87, 149, 200);
/* oklch */ color: oklch(64.9% 0.100 245.0);
Tailwind
colors: {
  custom: {
    50: '#8fb4d9',
    500: '#5795c8',
    950: '#000000',
  },
}
SCSS
$custom: #5795c8;
$custom-light: #8fb4d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5795c8",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 200
  },
  "hsl": {
    "h": 207.08,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64921,
    "c": 0.10014,
    "h": 245
  },
  "luminance": 0.27691
}

Semantic roles & 50–950 ramp

primary
#5795C8
secondary
#D5BBA6
accent
#8D4EDA
background
#F9FBFD
surface
#F1F6FA
border
#CBD0D3
text
#0D1114
muted
#7E8083

Preview Lab

Preview with #5795C8

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

Preview Lab → · Contrast checker → · Palette generator →

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