#5790EA#5790EA

#5790EA is a light, vivid blue. Relative luminance 0.279; OKLCH L 65.6% C 0.148 H 259.2°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5790EA
RGBrgb(87, 144, 234)
HSLhsl(217, 78%, 63%)
HSVhsv(217, 63%, 92%)
CMYKcmyk(62.8%, 38.5%, 0%, 8.2%)
CIE-LABlab(59.81, 8.88, -51.04)
CIE-LCHlch(59.81, 51.80, 279.87°)
OKLaboklab(65.61% -0.0277 -0.1451)
OKLCHoklch(65.61% 0.148 259.2)
XYZxyz(28.7498, 27.9106, 81.6981)
Luminance0.2791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5790EA #EAB157
analogous
#57D9EA #5790EA #6757EA
triadic
#5790EA #EA5790 #90EA57
tetradic
#5790EA #EA57D9 #EAB157 #57EA67
square
#5790EA #EA57D9 #EAB157 #57EA67
split-complementary
#5790EA #EA6757 #D9EA57
monochromatic
#1652B1 #216CE3 #5790EA #8DB4F1 #C4D8F8

Accessibility & contrast

On white

3.19
#5790EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#5790EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5790EA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5790EA#FFFFFF#000000##000000
##5790EA1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EE
Deuteranopia (green-blind)
#538AE8
Tritanopia (blue-blind)
#00A4B2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5790ea;
/* rgb */ color: rgb(87, 144, 234);
/* oklch */ color: oklch(65.6% 0.148 259.2);
Tailwind
colors: {
  custom: {
    50: '#93b0f1',
    500: '#5790ea',
    950: '#000000',
  },
}
SCSS
$custom: #5790ea;
$custom-light: #93b0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5790ea",
  "rgb": {
    "r": 87,
    "g": 144,
    "b": 234
  },
  "hsl": {
    "h": 216.735,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65605,
    "c": 0.14771,
    "h": 259.2
  },
  "luminance": 0.27913
}

Semantic roles & 50–950 ramp

primary
#5790EA
secondary
#E9D4B4
accent
#8A0BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5790EA

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

Preview Lab → · Contrast checker → · Palette generator →

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