#5790E4#5790E4

#5790E4 is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.3% C 0.140 H 258.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5790E4
RGBrgb(87, 144, 228)
HSLhsl(216, 72%, 62%)
HSVhsv(216, 62%, 89%)
CMYKcmyk(61.8%, 36.8%, 0%, 10.6%)
CIE-LABlab(59.50, 6.88, -48.20)
CIE-LCHlch(59.50, 48.68, 278.12°)
OKLaboklab(65.27% -0.0291 -0.1368)
OKLCHoklch(65.27% 0.14 258)
XYZxyz(27.9024, 27.5716, 77.2352)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5790E4 #E4AB57
analogous
#57D6E4 #5790E4 #6557E4
triadic
#5790E4 #E45790 #90E457
tetradic
#5790E4 #E457D6 #E4AB57 #57E465
square
#5790E4 #E457D6 #E4AB57 #57E465
split-complementary
#5790E4 #E46557 #D6E457
monochromatic
#1B53A6 #236DDB #5790E4 #8CB3EC #C0D6F5

Accessibility & contrast

On white

3.22
#5790E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#5790E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5790E4
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5790E4#FFFFFF#000000##000000
##5790E41.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C96E7
Deuteranopia (green-blind)
#5889E2
Tritanopia (blue-blind)
#00A3AF
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5790e4;
/* rgb */ color: rgb(87, 144, 228);
/* oklch */ color: oklch(65.3% 0.140 258.0);
Tailwind
colors: {
  custom: {
    50: '#92b0ed',
    500: '#5790e4',
    950: '#000000',
  },
}
SCSS
$custom: #5790e4;
$custom-light: #92b0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5790e4",
  "rgb": {
    "r": 87,
    "g": 144,
    "b": 228
  },
  "hsl": {
    "h": 215.745,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65265,
    "c": 0.13984,
    "h": 258
  },
  "luminance": 0.27574
}

Semantic roles & 50–950 ramp

primary
#5790E4
secondary
#E6D0B1
accent
#8511D4
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5790E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5790E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva