#5791DA#5791DA

#5791DA is a light, vivid cyan. Relative luminance 0.273; OKLCH L 64.9% C 0.126 H 255.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5791DA
RGBrgb(87, 145, 218)
HSLhsl(213, 64%, 60%)
HSVhsv(213, 60%, 85%)
CMYKcmyk(60.1%, 33.5%, 0%, 14.5%)
CIE-LABlab(59.28, 2.98, -42.97)
CIE-LCHlch(59.28, 43.07, 273.97°)
OKLaboklab(64.94% -0.0326 -0.1215)
OKLCHoklch(64.94% 0.126 255)
XYZxyz(26.7062, 27.3366, 70.1852)
Luminance0.2734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791DA #DAA057
analogous
#57D2DA #5791DA #5F57DA
triadic
#5791DA #DA5791 #91DA57
tetradic
#5791DA #DA57D2 #DAA057 #57DA5F
square
#5791DA #DA57D2 #DAA057 #57DA5F
split-complementary
#5791DA #DA5F57 #D2DA57
monochromatic
#215596 #2C71C8 #5791DA #89B2E5 #BBD3F0

Accessibility & contrast

On white

3.25
#5791DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#5791DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791DA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791DA#FFFFFF#000000##000000
##5791DA1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DD
Deuteranopia (green-blind)
#6189D9
Tritanopia (blue-blind)
#00A2AB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5791da;
/* rgb */ color: rgb(87, 145, 218);
/* oklch */ color: oklch(64.9% 0.126 255.0);
Tailwind
colors: {
  custom: {
    50: '#91b0e6',
    500: '#5791da',
    950: '#000000',
  },
}
SCSS
$custom: #5791da;
$custom-light: #91b0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5791da",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 218
  },
  "hsl": {
    "h": 213.435,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64936,
    "c": 0.1258,
    "h": 255
  },
  "luminance": 0.27339
}

Semantic roles & 50–950 ramp

primary
#5791DA
secondary
#E0C9AD
accent
#9D41E7
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5791DA

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

Preview Lab → · Contrast checker → · Palette generator →

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