#5795CA#5795CA

#5795CA is a light, moderate cyan. Relative luminance 0.278; OKLCH L 65.0% C 0.102 H 246.0°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5795CA
RGBrgb(87, 149, 202)
HSLhsl(208, 52%, 57%)
HSVhsv(208, 57%, 79%)
CMYKcmyk(56.9%, 26.2%, 0%, 20.8%)
CIE-LABlab(59.69, -4.48, -33.37)
CIE-LCHlch(59.69, 33.67, 262.36°)
OKLaboklab(65.02% -0.0416 -0.0936)
OKLCHoklch(65.02% 0.102 246)
XYZxyz(25.3347, 27.7832, 59.8933)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795CA #CA8C57
analogous
#57CAC5 #5795CA #575CCA
triadic
#5795CA #CA5795 #95CA57
tetradic
#5795CA #C557CA #CA8C57 #5CCA57
square
#5795CA #C557CA #CA8C57 #5CCA57
split-complementary
#5795CA #CA575C #CAC557
monochromatic
#28577F #3777AD #5795CA #86B2D9 #B4D0E7

Accessibility & contrast

On white

3.20
#5795CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#5795CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795CA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795CA#FFFFFF#000000##000000
##5795CA1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E96CC
Deuteranopia (green-blind)
#6F8BC9
Tritanopia (blue-blind)
#00A2A7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5795ca;
/* rgb */ color: rgb(87, 149, 202);
/* oklch */ color: oklch(65.0% 0.102 246.0);
Tailwind
colors: {
  custom: {
    50: '#8fb4da',
    500: '#5795ca',
    950: '#000000',
  },
}
SCSS
$custom: #5795ca;
$custom-light: #8fb4da;
$custom-dark: #000000;
JSON
{
  "hex": "#5795ca",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 202
  },
  "hsl": {
    "h": 207.652,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.65017,
    "c": 0.10247,
    "h": 246
  },
  "luminance": 0.27785
}

Semantic roles & 50–950 ramp

primary
#5795CA
secondary
#D6BDA7
accent
#8E4CDB
background
#F9FBFD
surface
#F1F6FA
border
#CBD0D3
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5795CA

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

Preview Lab → · Contrast checker → · Palette generator →

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