#5791DE#5791DE

#5791DE is a light, vivid cyan. Relative luminance 0.276; OKLCH L 65.2% C 0.131 H 256.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5791DE
RGBrgb(87, 145, 222)
HSLhsl(214, 67%, 61%)
HSVhsv(214, 61%, 87%)
CMYKcmyk(60.8%, 34.7%, 0%, 12.9%)
CIE-LABlab(59.48, 4.30, -44.89)
CIE-LCHlch(59.48, 45.10, 275.47°)
OKLaboklab(65.15% -0.0316 -0.1271)
OKLCHoklch(65.15% 0.131 256)
XYZxyz(27.2360, 27.5485, 72.9752)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791DE #DEA457
analogous
#57D5DE #5791DE #6057DE
triadic
#5791DE #DE5791 #91DE57
tetradic
#5791DE #DE57D5 #DEA457 #57DE60
square
#5791DE #DE57D5 #DEA457 #57DE60
split-complementary
#5791DE #DE6057 #D5DE57
monochromatic
#1F549C #2970CF #5791DE #8AB2E8 #BDD4F2

Accessibility & contrast

On white

3.23
#5791DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#5791DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791DE
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791DE#FFFFFF#000000##000000
##5791DE1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E1
Deuteranopia (green-blind)
#5E89DC
Tritanopia (blue-blind)
#00A3AD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5791de;
/* rgb */ color: rgb(87, 145, 222);
/* oklch */ color: oklch(65.2% 0.131 256.0);
Tailwind
colors: {
  custom: {
    50: '#91b0e8',
    500: '#5791de',
    950: '#000000',
  },
}
SCSS
$custom: #5791de;
$custom-light: #91b0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5791de",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 222
  },
  "hsl": {
    "h": 214.222,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65151,
    "c": 0.13098,
    "h": 256
  },
  "luminance": 0.27551
}

Semantic roles & 50–950 ramp

primary
#5791DE
secondary
#E2CCAF
accent
#8016CF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5791DE

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

Preview Lab → · Contrast checker → · Palette generator →

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