#5795BB#5795BB

#5795BB is a light, moderate cyan. Relative luminance 0.271; OKLCH L 64.3% C 0.086 H 237.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5795BB
RGBrgb(87, 149, 187)
HSLhsl(203, 42%, 54%)
HSVhsv(203, 53%, 73%)
CMYKcmyk(53.5%, 20.3%, 0%, 26.7%)
CIE-LABlab(59.07, -9.13, -25.88)
CIE-LCHlch(59.07, 27.44, 250.56°)
OKLaboklab(64.32% -0.0467 -0.0721)
OKLCHoklch(64.32% 0.086 237.1)
XYZxyz(23.6443, 27.1070, 50.9903)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795BB #BB7D57
analogous
#57BBAF #5795BB #5763BB
triadic
#5795BB #BB5795 #95BB57
tetradic
#5795BB #AF57BB #BB7D57 #63BB57
square
#5795BB #AF57BB #BB7D57 #63BB57
split-complementary
#5795BB #BB5763 #BBAF57
monochromatic
#2C546C #3D7597 #5795BB #83B0CD #AECCDE

Accessibility & contrast

On white

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

On black

6.42
#5795BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5795BB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795BB#FFFFFF#000000##000000
##5795BB1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8494BD
Deuteranopia (green-blind)
#768ABA
Tritanopia (blue-blind)
#159FA2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5795bb;
/* rgb */ color: rgb(87, 149, 187);
/* oklch */ color: oklch(64.3% 0.086 237.1);
Tailwind
colors: {
  custom: {
    50: '#8db4cf',
    500: '#5795bb',
    950: '#000000',
  },
}
SCSS
$custom: #5795bb;
$custom-light: #8db4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5795bb",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 187
  },
  "hsl": {
    "h": 202.8,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.64323,
    "c": 0.08592,
    "h": 237.1
  },
  "luminance": 0.27109
}

Semantic roles & 50–950 ramp

primary
#5795BB
secondary
#CCB2A2
accent
#8556D2
background
#F9FBFC
surface
#F1F6F9
border
#CBD0D2
text
#0D1114
muted
#7E8082

Preview Lab

Preview with #5795BB

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

Preview Lab → · Contrast checker → · Palette generator →

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