#5794EC#5794EC

#5794EC is a light, vivid blue. Relative luminance 0.293; OKLCH L 66.6% C 0.146 H 257.6°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5794EC
RGBrgb(87, 148, 236)
HSLhsl(215, 80%, 63%)
HSVhsv(215, 63%, 93%)
CMYKcmyk(63.1%, 37.3%, 0%, 7.5%)
CIE-LABlab(61.01, 7.18, -50.23)
CIE-LCHlch(61.01, 50.75, 278.14°)
OKLaboklab(66.57% -0.0313 -0.1427)
OKLCHoklch(66.57% 0.146 257.6)
XYZxyz(29.6553, 29.2594, 83.4254)
Luminance0.2926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5794EC #ECAF57
analogous
#57DFEC #5794EC #6457EC
triadic
#5794EC #EC5794 #94EC57
tetradic
#5794EC #EC57DF #ECAF57 #57EC64
square
#5794EC #EC57DF #ECAF57 #57EC64
split-complementary
#5794EC #EC6457 #DFEC57
monochromatic
#1456B4 #2071E6 #5794EC #8EB7F2 #C5DAF8

Accessibility & contrast

On white

3.06
#5794EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#5794EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5794EC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5794EC#FFFFFF#000000##000000
##5794EC1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF0
Deuteranopia (green-blind)
#588DEA
Tritanopia (blue-blind)
#00A8B5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5794ec;
/* rgb */ color: rgb(87, 148, 236);
/* oklch */ color: oklch(66.6% 0.146 257.6);
Tailwind
colors: {
  custom: {
    50: '#93b3f2',
    500: '#5794ec',
    950: '#000000',
  },
}
SCSS
$custom: #5794ec;
$custom-light: #93b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5794ec",
  "rgb": {
    "r": 87,
    "g": 148,
    "b": 236
  },
  "hsl": {
    "h": 215.436,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66573,
    "c": 0.14609,
    "h": 257.6
  },
  "luminance": 0.29262
}

Semantic roles & 50–950 ramp

primary
#5794EC
secondary
#EAD4B5
accent
#860ADC
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5794EC

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

Preview Lab → · Contrast checker → · Palette generator →

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