#5792E8#5792E8

#5792E8 is a light, vivid blue. Relative luminance 0.284; OKLCH L 65.9% C 0.143 H 257.8°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5792E8
RGBrgb(87, 146, 232)
HSLhsl(216, 76%, 63%)
HSVhsv(216, 63%, 91%)
CMYKcmyk(62.5%, 37.1%, 0%, 9%)
CIE-LABlab(60.26, 7.03, -49.22)
CIE-LCHlch(60.26, 49.72, 278.13°)
OKLaboklab(65.92% -0.0302 -0.1398)
OKLCHoklch(65.92% 0.143 257.8)
XYZxyz(28.7697, 28.4075, 80.2953)
Luminance0.2841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5792E8 #E8AD57
analogous
#57DBE8 #5792E8 #6457E8
triadic
#5792E8 #E85792 #92E857
tetradic
#5792E8 #E857DB #E8AD57 #57E864
square
#5792E8 #E857DB #E8AD57 #57E864
split-complementary
#5792E8 #E86457 #DBE857
monochromatic
#1854AD #216FE1 #5792E8 #8DB5EF #C3D8F7

Accessibility & contrast

On white

3.14
#5792E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#5792E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5792E8
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5792E8#FFFFFF#000000##000000
##5792E81.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D99EB
Deuteranopia (green-blind)
#588BE6
Tritanopia (blue-blind)
#00A6B2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5792e8;
/* rgb */ color: rgb(87, 146, 232);
/* oklch */ color: oklch(65.9% 0.143 257.8);
Tailwind
colors: {
  custom: {
    50: '#93b1f0',
    500: '#5792e8',
    950: '#000000',
  },
}
SCSS
$custom: #5792e8;
$custom-light: #93b1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5792e8",
  "rgb": {
    "r": 87,
    "g": 146,
    "b": 232
  },
  "hsl": {
    "h": 215.586,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65919,
    "c": 0.14297,
    "h": 257.8
  },
  "luminance": 0.2841
}

Semantic roles & 50–950 ramp

primary
#5792E8
secondary
#E8D2B3
accent
#860DD8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5792E8

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

Preview Lab → · Contrast checker → · Palette generator →

#5792E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva