#5791BB#5791BB

#5791BB is a light, moderate cyan. Relative luminance 0.259; OKLCH L 63.4% C 0.088 H 241.5°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5791BB
RGBrgb(87, 145, 187)
HSLhsl(205, 42%, 54%)
HSVhsv(205, 53%, 73%)
CMYKcmyk(53.5%, 22.5%, 0%, 26.7%)
CIE-LABlab(57.91, -6.89, -27.68)
CIE-LCHlch(57.91, 28.52, 256.03°)
OKLaboklab(63.4% -0.042 -0.0773)
OKLCHoklch(63.4% 0.088 241.5)
XYZxyz(23.0223, 25.8630, 50.7829)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791BB #BB8157
analogous
#57BBB3 #5791BB #575FBB
triadic
#5791BB #BB5791 #91BB57
tetradic
#5791BB #B357BB #BB8157 #5FBB57
square
#5791BB #B357BB #BB8157 #5FBB57
split-complementary
#5791BB #BB575F #BBB357
monochromatic
#2C516C #3D7297 #5791BB #83AECD #AECADE

Accessibility & contrast

On white

3.40
#5791BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#5791BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791BB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791BB#FFFFFF#000000##000000
##5791BB1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F91BD
Deuteranopia (green-blind)
#7187BA
Tritanopia (blue-blind)
#189B9F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5791bb;
/* rgb */ color: rgb(87, 145, 187);
/* oklch */ color: oklch(63.4% 0.088 241.5);
Tailwind
colors: {
  custom: {
    50: '#8db1cf',
    500: '#5791bb',
    950: '#000000',
  },
}
SCSS
$custom: #5791bb;
$custom-light: #8db1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5791bb",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 187
  },
  "hsl": {
    "h": 205.2,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.634,
    "c": 0.08797,
    "h": 241.5
  },
  "luminance": 0.25865
}

Semantic roles & 50–950 ramp

primary
#5791BB
secondary
#CCB3A2
accent
#8A56D2
background
#F9FAFC
surface
#F1F5F9
border
#CBCFD2
text
#0D1014
muted
#7E7F82

Preview Lab

Preview with #5791BB

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

Preview Lab → · Contrast checker → · Palette generator →

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