#5791DF#5791DF

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

Color values

HEX#5791DF
RGBrgb(87, 145, 223)
HSLhsl(214, 68%, 61%)
HSVhsv(214, 61%, 87%)
CMYKcmyk(61%, 35%, 0%, 12.5%)
CIE-LABlab(59.53, 4.63, -45.37)
CIE-LCHlch(59.53, 45.61, 275.83°)
OKLaboklab(65.21% -0.0313 -0.1285)
OKLCHoklch(65.21% 0.132 256.3)
XYZxyz(27.3704, 27.6022, 73.6831)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791DF #DFA557
analogous
#57D5DF #5791DF #6157DF
triadic
#5791DF #DF5791 #91DF57
tetradic
#5791DF #DF57D5 #DFA557 #57DF61
square
#5791DF #DF57D5 #DFA557 #57DF61
split-complementary
#5791DF #DF6157 #D5DF57
monochromatic
#1E549E #2870D1 #5791DF #8AB3E9 #BED4F3

Accessibility & contrast

On white

3.22
#5791DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#5791DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791DF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791DF#FFFFFF#000000##000000
##5791DF1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5791df;
/* rgb */ color: rgb(87, 145, 223);
/* oklch */ color: oklch(65.2% 0.132 256.3);
Tailwind
colors: {
  custom: {
    50: '#91b0e9',
    500: '#5791df',
    950: '#000000',
  },
}
SCSS
$custom: #5791df;
$custom-light: #91b0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5791df",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 223
  },
  "hsl": {
    "h": 214.412,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65205,
    "c": 0.13228,
    "h": 256.3
  },
  "luminance": 0.27605
}

Semantic roles & 50–950 ramp

primary
#5791DF
secondary
#E3CDAF
accent
#8016D0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5791DF

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

Preview Lab → · Contrast checker → · Palette generator →

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