#5794ED#5794ED

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

Color values

HEX#5794ED
RGBrgb(87, 148, 237)
HSLhsl(216, 81%, 64%)
HSVhsv(216, 63%, 93%)
CMYKcmyk(63.3%, 37.6%, 0%, 7.1%)
CIE-LABlab(61.06, 7.52, -50.71)
CIE-LCHlch(61.06, 51.26, 278.43°)
OKLaboklab(66.63% -0.031 -0.1441)
OKLCHoklch(66.63% 0.147 257.8)
XYZxyz(29.8010, 29.3176, 84.1927)
Luminance0.2932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5794ED #EDB057
analogous
#57DFED #5794ED #6557ED
triadic
#5794ED #ED5794 #94ED57
tetradic
#5794ED #ED57DF #EDB057 #57ED65
square
#5794ED #ED57DF #EDB057 #57ED65
split-complementary
#5794ED #ED6557 #DFED57
monochromatic
#1456B6 #2071E7 #5794ED #8EB7F3 #C6DAF9

Accessibility & contrast

On white

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

On black

6.86
#5794ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5794ED
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5794ED#FFFFFF#000000##000000
##5794ED1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5794ed;
/* rgb */ color: rgb(87, 148, 237);
/* oklch */ color: oklch(66.6% 0.147 257.8);
Tailwind
colors: {
  custom: {
    50: '#94b3f3',
    500: '#5794ed',
    950: '#000000',
  },
}
SCSS
$custom: #5794ed;
$custom-light: #94b3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5794ed",
  "rgb": {
    "r": 87,
    "g": 148,
    "b": 237
  },
  "hsl": {
    "h": 215.6,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66629,
    "c": 0.14739,
    "h": 257.8
  },
  "luminance": 0.2932
}

Semantic roles & 50–950 ramp

primary
#5794ED
secondary
#EAD5B5
accent
#8709DD
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5794ED

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

Preview Lab → · Contrast checker → · Palette generator →

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