#5794EB#5794EB

#5794EB is a light, vivid blue. Relative luminance 0.292; OKLCH L 66.5% C 0.145 H 257.4°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5794EB
RGBrgb(87, 148, 235)
HSLhsl(215, 79%, 63%)
HSVhsv(215, 63%, 92%)
CMYKcmyk(63%, 37%, 0%, 7.8%)
CIE-LABlab(60.96, 6.85, -49.76)
CIE-LCHlch(60.96, 50.23, 277.84°)
OKLaboklab(66.52% -0.0315 -0.1413)
OKLCHoklch(66.52% 0.145 257.4)
XYZxyz(29.5104, 29.2014, 82.6624)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5794EB #EBAE57
analogous
#57DEEB #5794EB #6457EB
triadic
#5794EB #EB5794 #94EB57
tetradic
#5794EB #EB57DE #EBAE57 #57EB64
square
#5794EB #EB57DE #EBAE57 #57EB64
split-complementary
#5794EB #EB6457 #DEEB57
monochromatic
#1556B2 #2071E4 #5794EB #8EB7F2 #C4DAF8

Accessibility & contrast

On white

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

On black

6.84
#5794EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5794EB
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5794EB#FFFFFF#000000##000000
##5794EB1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#598DE9
Tritanopia (blue-blind)
#00A8B4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5794eb;
/* rgb */ color: rgb(87, 148, 235);
/* oklch */ color: oklch(66.5% 0.145 257.4);
Tailwind
colors: {
  custom: {
    50: '#93b3f2',
    500: '#5794eb',
    950: '#000000',
  },
}
SCSS
$custom: #5794eb;
$custom-light: #93b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5794eb",
  "rgb": {
    "r": 87,
    "g": 148,
    "b": 235
  },
  "hsl": {
    "h": 215.27,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66517,
    "c": 0.14479,
    "h": 257.4
  },
  "luminance": 0.29204
}

Semantic roles & 50–950 ramp

primary
#5794EB
secondary
#E9D4B4
accent
#850ADB
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5794EB

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

Preview Lab → · Contrast checker → · Palette generator →

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