#5790E6#5790E6

#5790E6 is a light, vivid blue. Relative luminance 0.277; OKLCH L 65.4% C 0.142 H 258.4°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5790E6
RGBrgb(87, 144, 230)
HSLhsl(216, 74%, 62%)
HSVhsv(216, 62%, 90%)
CMYKcmyk(62.2%, 37.4%, 0%, 9.8%)
CIE-LABlab(59.60, 7.54, -49.14)
CIE-LCHlch(59.60, 49.72, 278.72°)
OKLaboklab(65.38% -0.0286 -0.1396)
OKLCHoklch(65.38% 0.142 258.4)
XYZxyz(28.1816, 27.6833, 78.7058)
Luminance0.2769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5790E6 #E6AD57
analogous
#57D7E6 #5790E6 #6657E6
triadic
#5790E6 #E65790 #90E657
tetradic
#5790E6 #E657D7 #E6AD57 #57E666
square
#5790E6 #E657D7 #E6AD57 #57E666
split-complementary
#5790E6 #E66657 #D7E657
monochromatic
#1953A9 #226DDE #5790E6 #8CB3EE #C2D6F6

Accessibility & contrast

On white

3.21
#5790E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#5790E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5790E6
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5790E6#FFFFFF#000000##000000
##5790E61.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B97E9
Deuteranopia (green-blind)
#5789E4
Tritanopia (blue-blind)
#00A4B0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5790e6;
/* rgb */ color: rgb(87, 144, 230);
/* oklch */ color: oklch(65.4% 0.142 258.4);
Tailwind
colors: {
  custom: {
    50: '#93b0ee',
    500: '#5790e6',
    950: '#000000',
  },
}
SCSS
$custom: #5790e6;
$custom-light: #93b0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5790e6",
  "rgb": {
    "r": 87,
    "g": 144,
    "b": 230
  },
  "hsl": {
    "h": 216.084,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65378,
    "c": 0.14246,
    "h": 258.4
  },
  "luminance": 0.27686
}

Semantic roles & 50–950 ramp

primary
#5790E6
secondary
#E7D2B2
accent
#870FD6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5790E6

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

Preview Lab → · Contrast checker → · Palette generator →

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