#5792E6#5792E6

#5792E6 is a light, vivid blue. Relative luminance 0.283; OKLCH L 65.8% C 0.140 H 257.4°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5792E6
RGBrgb(87, 146, 230)
HSLhsl(215, 74%, 62%)
HSVhsv(215, 62%, 90%)
CMYKcmyk(62.2%, 36.5%, 0%, 9.8%)
CIE-LABlab(60.15, 6.36, -48.27)
CIE-LCHlch(60.15, 48.69, 277.51°)
OKLaboklab(65.81% -0.0306 -0.137)
OKLCHoklch(65.81% 0.14 257.4)
XYZxyz(28.4872, 28.2945, 78.8077)
Luminance0.2830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5792E6 #E6AB57
analogous
#57D9E6 #5792E6 #6457E6
triadic
#5792E6 #E65792 #92E657
tetradic
#5792E6 #E657D9 #E6AB57 #57E664
square
#5792E6 #E657D9 #E6AB57 #57E664
split-complementary
#5792E6 #E66457 #D9E657
monochromatic
#1955A9 #226FDE #5792E6 #8CB5EE #C2D7F6

Accessibility & contrast

On white

3.15
#5792E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#5792E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5792E6
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5792E6#FFFFFF#000000##000000
##5792E61.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E98E9
Deuteranopia (green-blind)
#5A8BE4
Tritanopia (blue-blind)
#00A5B1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5792e6;
/* rgb */ color: rgb(87, 146, 230);
/* oklch */ color: oklch(65.8% 0.140 257.4);
Tailwind
colors: {
  custom: {
    50: '#92b1ee',
    500: '#5792e6',
    950: '#000000',
  },
}
SCSS
$custom: #5792e6;
$custom-light: #92b1ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5792e6",
  "rgb": {
    "r": 87,
    "g": 146,
    "b": 230
  },
  "hsl": {
    "h": 215.245,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65807,
    "c": 0.14037,
    "h": 257.4
  },
  "luminance": 0.28297
}

Semantic roles & 50–950 ramp

primary
#5792E6
secondary
#E7D1B2
accent
#840FD6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5792E6

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

Preview Lab → · Contrast checker → · Palette generator →

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