#5791C4#5791C4

#5791C4 is a light, moderate cyan. Relative luminance 0.263; OKLCH L 63.8% C 0.098 H 246.6°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5791C4
RGBrgb(87, 145, 196)
HSLhsl(208, 48%, 55%)
HSVhsv(208, 56%, 77%)
CMYKcmyk(55.6%, 26%, 0%, 23.1%)
CIE-LABlab(58.28, -4.09, -32.18)
CIE-LCHlch(58.28, 32.44, 262.76°)
OKLaboklab(63.82% -0.039 -0.0902)
OKLCHoklch(63.82% 0.098 246.6)
XYZxyz(24.0161, 26.2605, 56.0170)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791C4 #C48A57
analogous
#57C4C0 #5791C4 #575AC4
triadic
#5791C4 #C45791 #91C457
tetradic
#5791C4 #C057C4 #C48A57 #5AC457
square
#5791C4 #C057C4 #C48A57 #5AC457
split-complementary
#5791C4 #C4575A #C4C057
monochromatic
#2A5377 #3A72A4 #5791C4 #84AFD4 #B2CCE4

Accessibility & contrast

On white

3.36
#5791C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#5791C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791C4
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791C4#FFFFFF#000000##000000
##5791C41.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B92C6
Deuteranopia (green-blind)
#6D87C3
Tritanopia (blue-blind)
#009DA3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5791c4;
/* rgb */ color: rgb(87, 145, 196);
/* oklch */ color: oklch(63.8% 0.098 246.6);
Tailwind
colors: {
  custom: {
    50: '#8eb1d6',
    500: '#5791c4',
    950: '#000000',
  },
}
SCSS
$custom: #5791c4;
$custom-light: #8eb1d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5791c4",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 196
  },
  "hsl": {
    "h": 208.073,
    "s": 48.018,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63821,
    "c": 0.09831,
    "h": 246.6
  },
  "luminance": 0.26263
}

Semantic roles & 50–950 ramp

primary
#5791C4
secondary
#D2BAA5
accent
#9050D8
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D1014
muted
#7E7F83

Preview Lab

Preview with #5791C4

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

Preview Lab → · Contrast checker → · Palette generator →

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