#5791E2#5791E2

#5791E2 is a light, vivid cyan. Relative luminance 0.278; OKLCH L 65.4% C 0.136 H 257.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5791E2
RGBrgb(87, 145, 226)
HSLhsl(215, 71%, 61%)
HSVhsv(215, 62%, 89%)
CMYKcmyk(61.5%, 35.8%, 0%, 11.4%)
CIE-LABlab(59.68, 5.62, -46.80)
CIE-LCHlch(59.68, 47.14, 276.85°)
OKLaboklab(65.37% -0.0306 -0.1327)
OKLCHoklch(65.37% 0.136 257)
XYZxyz(27.7785, 27.7655, 75.8321)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791E2 #E2A857
analogous
#57D7E2 #5791E2 #6357E2
triadic
#5791E2 #E25791 #91E257
tetradic
#5791E2 #E257D7 #E2A857 #57E263
square
#5791E2 #E257D7 #E2A857 #57E263
split-complementary
#5791E2 #E26357 #D7E257
monochromatic
#1C54A3 #256FD7 #5791E2 #8BB3EB #BFD5F4

Accessibility & contrast

On white

3.20
#5791E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#5791E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791E2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791E2#FFFFFF#000000##000000
##5791E21.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E5
Deuteranopia (green-blind)
#5B8AE0
Tritanopia (blue-blind)
#00A3AF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5791e2;
/* rgb */ color: rgb(87, 145, 226);
/* oklch */ color: oklch(65.4% 0.136 257.0);
Tailwind
colors: {
  custom: {
    50: '#92b0eb',
    500: '#5791e2',
    950: '#000000',
  },
}
SCSS
$custom: #5791e2;
$custom-light: #92b0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5791e2",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 226
  },
  "hsl": {
    "h": 214.964,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6537,
    "c": 0.13618,
    "h": 257
  },
  "luminance": 0.27768
}

Semantic roles & 50–950 ramp

primary
#5791E2
secondary
#E4CFB0
accent
#8313D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5791E2

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

Preview Lab → · Contrast checker → · Palette generator →

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