#5794EE#5794EE

#5794EE is a light, vivid blue. Relative luminance 0.294; OKLCH L 66.7% C 0.149 H 258.0°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5794EE
RGBrgb(87, 148, 238)
HSLhsl(216, 82%, 64%)
HSVhsv(216, 63%, 93%)
CMYKcmyk(63.4%, 37.8%, 0%, 6.7%)
CIE-LABlab(61.11, 7.85, -51.18)
CIE-LCHlch(61.11, 51.78, 278.72°)
OKLaboklab(66.69% -0.0308 -0.1455)
OKLCHoklch(66.69% 0.149 258)
XYZxyz(29.9475, 29.3762, 84.9643)
Luminance0.2938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5794EE #EEB157
analogous
#57DFEE #5794EE #6557EE
triadic
#5794EE #EE5794 #94EE57
tetradic
#5794EE #EE57DF #EEB157 #57EE65
square
#5794EE #EE57DF #EEB157 #57EE65
split-complementary
#5794EE #EE6557 #DFEE57
monochromatic
#1355B8 #1F71E8 #5794EE #8FB7F4 #C6DBF9

Accessibility & contrast

On white

3.05
#5794EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#5794EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5794EE
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5794EE#FFFFFF#000000##000000
##5794EE1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF2
Deuteranopia (green-blind)
#578DEC
Tritanopia (blue-blind)
#00A9B6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5794ee;
/* rgb */ color: rgb(87, 148, 238);
/* oklch */ color: oklch(66.7% 0.149 258.0);
Tailwind
colors: {
  custom: {
    50: '#94b3f4',
    500: '#5794ee',
    950: '#000000',
  },
}
SCSS
$custom: #5794ee;
$custom-light: #94b3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5794ee",
  "rgb": {
    "r": 87,
    "g": 148,
    "b": 238
  },
  "hsl": {
    "h": 215.762,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66686,
    "c": 0.14869,
    "h": 258
  },
  "luminance": 0.29379
}

Semantic roles & 50–950 ramp

primary
#5794EE
secondary
#EBD6B6
accent
#8708DE
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5794EE

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

Preview Lab → · Contrast checker → · Palette generator →

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