#5794DE#5794DE

#5794DE is a light, vivid cyan. Relative luminance 0.285; OKLCH L 65.8% C 0.128 H 254.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5794DE
RGBrgb(87, 148, 222)
HSLhsl(213, 67%, 61%)
HSVhsv(213, 61%, 87%)
CMYKcmyk(60.8%, 33.3%, 0%, 12.9%)
CIE-LABlab(60.32, 2.55, -43.57)
CIE-LCHlch(60.32, 43.64, 273.35°)
OKLaboklab(65.81% -0.0347 -0.1232)
OKLCHoklch(65.81% 0.128 254.3)
XYZxyz(27.7005, 28.4774, 73.1300)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5794DE #DEA157
analogous
#57D7DE #5794DE #5D57DE
triadic
#5794DE #DE5794 #94DE57
tetradic
#5794DE #DE57D7 #DEA157 #57DE5D
square
#5794DE #DE57D7 #DEA157 #57DE5D
split-complementary
#5794DE #DE5D57 #D7DE57
monochromatic
#1F579C #2974CF #5794DE #8AB5E8 #BDD5F2

Accessibility & contrast

On white

3.14
#5794DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#5794DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5794DE
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5794DE#FFFFFF#000000##000000
##5794DE1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598E1
Deuteranopia (green-blind)
#628CDC
Tritanopia (blue-blind)
#00A5AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5794de;
/* rgb */ color: rgb(87, 148, 222);
/* oklch */ color: oklch(65.8% 0.128 254.3);
Tailwind
colors: {
  custom: {
    50: '#91b3e8',
    500: '#5794de',
    950: '#000000',
  },
}
SCSS
$custom: #5794de;
$custom-light: #91b3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5794de",
  "rgb": {
    "r": 87,
    "g": 148,
    "b": 222
  },
  "hsl": {
    "h": 212.889,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65807,
    "c": 0.12803,
    "h": 254.3
  },
  "luminance": 0.2848
}

Semantic roles & 50–950 ramp

primary
#5794DE
secondary
#E2CBAF
accent
#7C16CF
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5794DE

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

Preview Lab → · Contrast checker → · Palette generator →

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