#5794E8#5794E8

#5794E8 is a light, vivid cyan. Relative luminance 0.290; OKLCH L 66.3% C 0.141 H 256.8°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5794E8
RGBrgb(87, 148, 232)
HSLhsl(215, 76%, 63%)
HSVhsv(215, 63%, 91%)
CMYKcmyk(62.5%, 36.2%, 0%, 9%)
CIE-LABlab(60.81, 5.85, -48.34)
CIE-LCHlch(60.81, 48.70, 276.90°)
OKLaboklab(66.35% -0.0322 -0.1372)
OKLCHoklch(66.35% 0.141 256.8)
XYZxyz(29.0807, 29.0295, 80.3990)
Luminance0.2903 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5794E8 #E8AB57
analogous
#57DCE8 #5794E8 #6357E8
triadic
#5794E8 #E85794 #94E857
tetradic
#5794E8 #E857DC #E8AB57 #57E863
square
#5794E8 #E857DC #E8AB57 #57E863
split-complementary
#5794E8 #E86357 #DCE857
monochromatic
#1856AD #2172E1 #5794E8 #8DB6EF #C3D9F7

Accessibility & contrast

On white

3.09
#5794E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#5794E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5794E8
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5794E8#FFFFFF#000000##000000
##5794E81.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#709AEB
Deuteranopia (green-blind)
#5C8CE6
Tritanopia (blue-blind)
#00A7B3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5794e8;
/* rgb */ color: rgb(87, 148, 232);
/* oklch */ color: oklch(66.3% 0.141 256.8);
Tailwind
colors: {
  custom: {
    50: '#93b3f0',
    500: '#5794e8',
    950: '#000000',
  },
}
SCSS
$custom: #5794e8;
$custom-light: #93b3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5794e8",
  "rgb": {
    "r": 87,
    "g": 148,
    "b": 232
  },
  "hsl": {
    "h": 214.759,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66349,
    "c": 0.1409,
    "h": 256.8
  },
  "luminance": 0.29032
}

Semantic roles & 50–950 ramp

primary
#5794E8
secondary
#E8D2B3
accent
#830DD8
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5794E8

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

Preview Lab → · Contrast checker → · Palette generator →

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