#5795BE#5795BE

#5795BE is a light, moderate cyan. Relative luminance 0.272; OKLCH L 64.5% C 0.089 H 239.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#5795BE
RGBrgb(87, 149, 190)
HSLhsl(204, 44%, 54%)
HSVhsv(204, 54%, 75%)
CMYKcmyk(54.2%, 21.6%, 0%, 25.5%)
CIE-LABlab(59.19, -8.21, -27.39)
CIE-LCHlch(59.19, 28.59, 253.30°)
OKLaboklab(64.46% -0.0456 -0.0764)
OKLCHoklch(64.46% 0.089 239.2)
XYZxyz(23.9688, 27.2368, 52.6993)
Luminance0.2724 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795BE #BE8057
analogous
#57BEB3 #5795BE #5762BE
triadic
#5795BE #BE5795 #95BE57
tetradic
#5795BE #B357BE #BE8057 #62BE57
square
#5795BE #B357BE #BE8057 #62BE57
split-complementary
#5795BE #BE5762 #BEB357
monochromatic
#2B546F #3C769C #5795BE #83B1CF #AFCDE0

Accessibility & contrast

On white

3.26
#5795BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#5795BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795BE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795BE#FFFFFF#000000##000000
##5795BE1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8394C0
Deuteranopia (green-blind)
#758ABD
Tritanopia (blue-blind)
#0E9FA3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5795be;
/* rgb */ color: rgb(87, 149, 190);
/* oklch */ color: oklch(64.5% 0.089 239.2);
Tailwind
colors: {
  custom: {
    50: '#8db4d1',
    500: '#5795be',
    950: '#000000',
  },
}
SCSS
$custom: #5795be;
$custom-light: #8db4d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5795be",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 190
  },
  "hsl": {
    "h": 203.883,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.64457,
    "c": 0.08903,
    "h": 239.2
  },
  "luminance": 0.27239
}

Semantic roles & 50–950 ramp

primary
#5795BE
secondary
#CEB4A3
accent
#8754D4
background
#F9FBFC
surface
#F1F6F9
border
#CBD0D2
text
#0D1114
muted
#7E8082

Preview Lab

Preview with #5795BE

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

Preview Lab → · Contrast checker → · Palette generator →

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