#5794E9#5794E9

#5794E9 is a light, vivid cyan. Relative luminance 0.291; OKLCH L 66.4% C 0.142 H 257.0°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5794E9
RGBrgb(87, 148, 233)
HSLhsl(215, 77%, 63%)
HSVhsv(215, 63%, 91%)
CMYKcmyk(62.7%, 36.5%, 0%, 8.6%)
CIE-LABlab(60.86, 6.18, -48.82)
CIE-LCHlch(60.86, 49.21, 277.22°)
OKLaboklab(66.41% -0.032 -0.1385)
OKLCHoklch(66.41% 0.142 257)
XYZxyz(29.2231, 29.0865, 81.1492)
Luminance0.2909 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5794E9 #E9AC57
analogous
#57DDE9 #5794E9 #6357E9
triadic
#5794E9 #E95794 #94E957
tetradic
#5794E9 #E957DD #E9AC57 #57E963
square
#5794E9 #E957DD #E9AC57 #57E963
split-complementary
#5794E9 #E96357 #DDE957
monochromatic
#1756AF #2172E2 #5794E9 #8DB6F0 #C3D9F7

Accessibility & contrast

On white

3.08
#5794E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#5794E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5794E9
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5794E9#FFFFFF#000000##000000
##5794E91.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9AEC
Deuteranopia (green-blind)
#5B8DE7
Tritanopia (blue-blind)
#00A7B3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5794e9;
/* rgb */ color: rgb(87, 148, 233);
/* oklch */ color: oklch(66.4% 0.142 257.0);
Tailwind
colors: {
  custom: {
    50: '#93b3f0',
    500: '#5794e9',
    950: '#000000',
  },
}
SCSS
$custom: #5794e9;
$custom-light: #93b3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5794e9",
  "rgb": {
    "r": 87,
    "g": 148,
    "b": 233
  },
  "hsl": {
    "h": 214.932,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66405,
    "c": 0.14219,
    "h": 257
  },
  "luminance": 0.29089
}

Semantic roles & 50–950 ramp

primary
#5794E9
secondary
#E8D2B3
accent
#840CD9
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5794E9

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

Preview Lab → · Contrast checker → · Palette generator →

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