#5795BC#5795BC

#5795BC is a light, moderate cyan. Relative luminance 0.272; OKLCH L 64.4% C 0.087 H 237.8°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5795BC
RGBrgb(87, 149, 188)
HSLhsl(203, 43%, 54%)
HSVhsv(203, 54%, 74%)
CMYKcmyk(53.7%, 20.7%, 0%, 26.3%)
CIE-LABlab(59.11, -8.83, -26.38)
CIE-LCHlch(59.11, 27.82, 251.50°)
OKLaboklab(64.37% -0.0463 -0.0736)
OKLCHoklch(64.37% 0.087 237.8)
XYZxyz(23.7517, 27.1500, 51.5560)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795BC #BC7E57
analogous
#57BCB1 #5795BC #5763BC
triadic
#5795BC #BC5795 #95BC57
tetradic
#5795BC #B157BC #BC7E57 #63BC57
square
#5795BC #B157BC #BC7E57 #63BC57
split-complementary
#5795BC #BC5763 #BCB157
monochromatic
#2C546D #3D7599 #5795BC #83B1CD #AFCCDF

Accessibility & contrast

On white

3.27
#5795BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#5795BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795BC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795BC#FFFFFF#000000##000000
##5795BC1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8394BE
Deuteranopia (green-blind)
#758ABB
Tritanopia (blue-blind)
#139FA2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5795bc;
/* rgb */ color: rgb(87, 149, 188);
/* oklch */ color: oklch(64.4% 0.087 237.8);
Tailwind
colors: {
  custom: {
    50: '#8db4d0',
    500: '#5795bc',
    950: '#000000',
  },
}
SCSS
$custom: #5795bc;
$custom-light: #8db4d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5795bc",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 188
  },
  "hsl": {
    "h": 203.168,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.64368,
    "c": 0.08694,
    "h": 237.8
  },
  "luminance": 0.27152
}

Semantic roles & 50–950 ramp

primary
#5795BC
secondary
#CDB2A2
accent
#8655D3
background
#F9FBFC
surface
#F1F6F9
border
#CBD0D2
text
#0D1114
muted
#7E8082

Preview Lab

Preview with #5795BC

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

Preview Lab → · Contrast checker → · Palette generator →

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