#5794EA#5794EA

#5794EA is a light, vivid blue. Relative luminance 0.291; OKLCH L 66.5% C 0.143 H 257.2°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5794EA
RGBrgb(87, 148, 234)
HSLhsl(215, 78%, 63%)
HSVhsv(215, 63%, 92%)
CMYKcmyk(62.8%, 36.8%, 0%, 8.2%)
CIE-LABlab(60.91, 6.52, -49.29)
CIE-LCHlch(60.91, 49.72, 277.53°)
OKLaboklab(66.46% -0.0317 -0.1399)
OKLCHoklch(66.46% 0.143 257.2)
XYZxyz(29.3664, 29.1438, 81.9037)
Luminance0.2915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5794EA #EAAD57
analogous
#57DEEA #5794EA #6357EA
triadic
#5794EA #EA5794 #94EA57
tetradic
#5794EA #EA57DE #EAAD57 #57EA63
square
#5794EA #EA57DE #EAAD57 #57EA63
split-complementary
#5794EA #EA6357 #DEEA57
monochromatic
#1656B1 #2171E3 #5794EA #8DB7F1 #C4D9F8

Accessibility & contrast

On white

3.07
#5794EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#5794EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5794EA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5794EA#FFFFFF#000000##000000
##5794EA1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9AEE
Deuteranopia (green-blind)
#5A8DE8
Tritanopia (blue-blind)
#00A8B4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5794ea;
/* rgb */ color: rgb(87, 148, 234);
/* oklch */ color: oklch(66.5% 0.143 257.2);
Tailwind
colors: {
  custom: {
    50: '#93b3f1',
    500: '#5794ea',
    950: '#000000',
  },
}
SCSS
$custom: #5794ea;
$custom-light: #93b3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5794ea",
  "rgb": {
    "r": 87,
    "g": 148,
    "b": 234
  },
  "hsl": {
    "h": 215.102,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66461,
    "c": 0.14349,
    "h": 257.2
  },
  "luminance": 0.29147
}

Semantic roles & 50–950 ramp

primary
#5794EA
secondary
#E9D3B4
accent
#840BDA
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5794EA

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

Preview Lab → · Contrast checker → · Palette generator →

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