#5791BF#5791BF

#5791BF is a light, moderate cyan. Relative luminance 0.260; OKLCH L 63.6% C 0.092 H 243.9°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5791BF
RGBrgb(87, 145, 191)
HSLhsl(207, 45%, 55%)
HSVhsv(207, 54%, 75%)
CMYKcmyk(54.5%, 24.1%, 0%, 25.1%)
CIE-LABlab(58.07, -5.65, -29.69)
CIE-LCHlch(58.07, 30.22, 259.22°)
OKLaboklab(63.59% -0.0407 -0.083)
OKLCHoklch(63.59% 0.092 243.9)
XYZxyz(23.4565, 26.0367, 53.0696)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791BF #BF8557
analogous
#57BFB9 #5791BF #575DBF
triadic
#5791BF #BF5791 #91BF57
tetradic
#5791BF #B957BF #BF8557 #5DBF57
square
#5791BF #B957BF #BF8557 #5DBF57
split-complementary
#5791BF #BF575D #BFB957
monochromatic
#2B5271 #3C729D #5791BF #83AED0 #B0CBE1

Accessibility & contrast

On white

3.38
#5791BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#5791BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791BF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791BF#FFFFFF#000000##000000
##5791BF1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D91C1
Deuteranopia (green-blind)
#6F87BE
Tritanopia (blue-blind)
#0F9CA1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5791bf;
/* rgb */ color: rgb(87, 145, 191);
/* oklch */ color: oklch(63.6% 0.092 243.9);
Tailwind
colors: {
  custom: {
    50: '#8db1d2',
    500: '#5791bf',
    950: '#000000',
  },
}
SCSS
$custom: #5791bf;
$custom-light: #8db1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5791bf",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 191
  },
  "hsl": {
    "h": 206.538,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.63585,
    "c": 0.09247,
    "h": 243.9
  },
  "luminance": 0.26039
}

Semantic roles & 50–950 ramp

primary
#5791BF
secondary
#CFB6A3
accent
#8C53D5
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D1014
muted
#7E7F82

Preview Lab

Preview with #5791BF

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

Preview Lab → · Contrast checker → · Palette generator →

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