#5794E5#5794E5

#5794E5 is a light, vivid cyan. Relative luminance 0.289; OKLCH L 66.2% C 0.137 H 256.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5794E5
RGBrgb(87, 148, 229)
HSLhsl(214, 73%, 62%)
HSVhsv(214, 62%, 90%)
CMYKcmyk(62%, 35.4%, 0%, 10.2%)
CIE-LABlab(60.66, 4.86, -46.92)
CIE-LCHlch(60.66, 47.17, 275.91°)
OKLaboklab(66.18% -0.0329 -0.133)
OKLCHoklch(66.18% 0.137 256.1)
XYZxyz(28.6582, 28.8605, 78.1739)
Luminance0.2886 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5794E5 #E5A857
analogous
#57DBE5 #5794E5 #6157E5
triadic
#5794E5 #E55794 #94E557
tetradic
#5794E5 #E557DB #E5A857 #57E561
square
#5794E5 #E557DB #E5A857 #57E561
split-complementary
#5794E5 #E56157 #DBE557
monochromatic
#1A57A8 #2272DD #5794E5 #8CB6ED #C1D8F5

Accessibility & contrast

On white

3.10
#5794E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#5794E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5794E5
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5794E5#FFFFFF#000000##000000
##5794E51.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719AE8
Deuteranopia (green-blind)
#5E8CE3
Tritanopia (blue-blind)
#00A6B2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5794e5;
/* rgb */ color: rgb(87, 148, 229);
/* oklch */ color: oklch(66.2% 0.137 256.1);
Tailwind
colors: {
  custom: {
    50: '#92b3ed',
    500: '#5794e5',
    950: '#000000',
  },
}
SCSS
$custom: #5794e5;
$custom-light: #92b3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5794e5",
  "rgb": {
    "r": 87,
    "g": 148,
    "b": 229
  },
  "hsl": {
    "h": 214.225,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66184,
    "c": 0.13702,
    "h": 256.1
  },
  "luminance": 0.28863
}

Semantic roles & 50–950 ramp

primary
#5794E5
secondary
#E6D0B2
accent
#8110D5
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5794E5

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

Preview Lab → · Contrast checker → · Palette generator →

#5794E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva