#5792EA#5792EA

#5792EA is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.0% C 0.146 H 258.2°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5792EA
RGBrgb(87, 146, 234)
HSLhsl(216, 78%, 63%)
HSVhsv(216, 63%, 92%)
CMYKcmyk(62.8%, 37.6%, 0%, 8.2%)
CIE-LABlab(60.36, 7.70, -50.16)
CIE-LCHlch(60.36, 50.75, 278.72°)
OKLaboklab(66.03% -0.0297 -0.1425)
OKLCHoklch(66.03% 0.146 258.2)
XYZxyz(29.0554, 28.5218, 81.8000)
Luminance0.2853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5792EA #EAAF57
analogous
#57DCEA #5792EA #6557EA
triadic
#5792EA #EA5792 #92EA57
tetradic
#5792EA #EA57DC #EAAF57 #57EA65
square
#5792EA #EA57DC #EAAF57 #57EA65
split-complementary
#5792EA #EA6557 #DCEA57
monochromatic
#1654B1 #216FE3 #5792EA #8DB5F1 #C4D9F8

Accessibility & contrast

On white

3.13
#5792EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#5792EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5792EA
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5792EA#FFFFFF#000000##000000
##5792EA1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99EE
Deuteranopia (green-blind)
#578BE8
Tritanopia (blue-blind)
#00A6B3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5792ea;
/* rgb */ color: rgb(87, 146, 234);
/* oklch */ color: oklch(66.0% 0.146 258.2);
Tailwind
colors: {
  custom: {
    50: '#93b1f1',
    500: '#5792ea',
    950: '#000000',
  },
}
SCSS
$custom: #5792ea;
$custom-light: #93b1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5792ea",
  "rgb": {
    "r": 87,
    "g": 146,
    "b": 234
  },
  "hsl": {
    "h": 215.918,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66032,
    "c": 0.14559,
    "h": 258.2
  },
  "luminance": 0.28525
}

Semantic roles & 50–950 ramp

primary
#5792EA
secondary
#E9D4B4
accent
#870BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5792EA

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

Preview Lab → · Contrast checker → · Palette generator →

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