#5790E8#5790E8

#5790E8 is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.5% C 0.145 H 258.8°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5790E8
RGBrgb(87, 144, 232)
HSLhsl(216, 76%, 63%)
HSVhsv(216, 63%, 91%)
CMYKcmyk(62.5%, 37.9%, 0%, 9%)
CIE-LABlab(59.70, 8.21, -50.09)
CIE-LCHlch(59.70, 50.76, 279.31°)
OKLaboklab(65.49% -0.0282 -0.1423)
OKLCHoklch(65.49% 0.145 258.8)
XYZxyz(28.4641, 27.7963, 80.1935)
Luminance0.2780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5790E8 #E8AF57
analogous
#57D8E8 #5790E8 #6757E8
triadic
#5790E8 #E85790 #90E857
tetradic
#5790E8 #E857D8 #E8AF57 #57E867
square
#5790E8 #E857D8 #E8AF57 #57E867
split-complementary
#5790E8 #E86757 #D8E857
monochromatic
#1852AD #216CE1 #5790E8 #8DB4EF #C3D7F7

Accessibility & contrast

On white

3.20
#5790E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#5790E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5790E8
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5790E8#FFFFFF#000000##000000
##5790E81.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A97EC
Deuteranopia (green-blind)
#558AE6
Tritanopia (blue-blind)
#00A4B1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5790e8;
/* rgb */ color: rgb(87, 144, 232);
/* oklch */ color: oklch(65.5% 0.145 258.8);
Tailwind
colors: {
  custom: {
    50: '#93b0f0',
    500: '#5790e8',
    950: '#000000',
  },
}
SCSS
$custom: #5790e8;
$custom-light: #93b0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5790e8",
  "rgb": {
    "r": 87,
    "g": 144,
    "b": 232
  },
  "hsl": {
    "h": 216.414,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65491,
    "c": 0.14509,
    "h": 258.8
  },
  "luminance": 0.27799
}

Semantic roles & 50–950 ramp

primary
#5790E8
secondary
#E8D3B3
accent
#880DD8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5790E8

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

Preview Lab → · Contrast checker → · Palette generator →

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