#5795CE#5795CE

#5795CE is a light, moderate cyan. Relative luminance 0.280; OKLCH L 65.2% C 0.107 H 247.9°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5795CE
RGBrgb(87, 149, 206)
HSLhsl(209, 55%, 57%)
HSVhsv(209, 58%, 81%)
CMYKcmyk(57.8%, 27.7%, 0%, 19.2%)
CIE-LABlab(59.87, -3.21, -35.34)
CIE-LCHlch(59.87, 35.49, 264.81°)
OKLaboklab(65.21% -0.0404 -0.0993)
OKLCHoklch(65.21% 0.107 247.9)
XYZxyz(25.8145, 27.9751, 62.4199)
Luminance0.2798 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795CE #CE9057
analogous
#57CECB #5795CE #575ACE
triadic
#5795CE #CE5795 #95CE57
tetradic
#5795CE #CB57CE #CE9057 #5ACE57
square
#5795CE #CB57CE #CE9057 #5ACE57
split-complementary
#5795CE #CE575A #CECB57
monochromatic
#275784 #3477B3 #5795CE #86B3DC #B6D1EA

Accessibility & contrast

On white

3.18
#5795CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#5795CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795CE
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795CE#FFFFFF#000000##000000
##5795CE1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D97D1
Deuteranopia (green-blind)
#6D8BCD
Tritanopia (blue-blind)
#00A2A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5795ce;
/* rgb */ color: rgb(87, 149, 206);
/* oklch */ color: oklch(65.2% 0.107 247.9);
Tailwind
colors: {
  custom: {
    50: '#8fb3dd',
    500: '#5795ce',
    950: '#000000',
  },
}
SCSS
$custom: #5795ce;
$custom-light: #8fb3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5795ce",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 206
  },
  "hsl": {
    "h": 208.739,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65211,
    "c": 0.10723,
    "h": 247.9
  },
  "luminance": 0.27977
}

Semantic roles & 50–950 ramp

primary
#5795CE
secondary
#D8BFA8
accent
#914ADE
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5795CE

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

Preview Lab → · Contrast checker → · Palette generator →

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