#5795CF#5795CF

#5795CF is a light, moderate cyan. Relative luminance 0.280; OKLCH L 65.3% C 0.108 H 248.3°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5795CF
RGBrgb(87, 149, 207)
HSLhsl(209, 56%, 58%)
HSVhsv(209, 58%, 81%)
CMYKcmyk(58%, 28%, 0%, 18.8%)
CIE-LABlab(59.91, -2.89, -35.83)
CIE-LCHlch(59.91, 35.95, 265.39°)
OKLaboklab(65.26% -0.0401 -0.1008)
OKLCHoklch(65.26% 0.108 248.3)
XYZxyz(25.9363, 28.0238, 63.0617)
Luminance0.2803 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795CF #CF9157
analogous
#57CFCD #5795CF #5759CF
triadic
#5795CF #CF5795 #95CF57
tetradic
#5795CF #CD57CF #CF9157 #59CF57
square
#5795CF #CD57CF #CF9157 #59CF57
split-complementary
#5795CF #CF5759 #CFCD57
monochromatic
#265785 #3477B5 #5795CF #87B3DD #B6D1EA

Accessibility & contrast

On white

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

On black

6.61
#5795CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795CF
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795CF#FFFFFF#000000##000000
##5795CF1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C97D2
Deuteranopia (green-blind)
#6C8BCE
Tritanopia (blue-blind)
#00A3A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5795cf;
/* rgb */ color: rgb(87, 149, 207);
/* oklch */ color: oklch(65.3% 0.108 248.3);
Tailwind
colors: {
  custom: {
    50: '#8fb3de',
    500: '#5795cf',
    950: '#000000',
  },
}
SCSS
$custom: #5795cf;
$custom-light: #8fb3de;
$custom-dark: #000000;
JSON
{
  "hex": "#5795cf",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 207
  },
  "hsl": {
    "h": 209,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6526,
    "c": 0.10843,
    "h": 248.3
  },
  "luminance": 0.28026
}

Semantic roles & 50–950 ramp

primary
#5795CF
secondary
#D9C0A9
accent
#9149DF
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5795CF

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

Preview Lab → · Contrast checker → · Palette generator →

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