#5790EE#5790EE

#5790EE is a light, vivid blue. Relative luminance 0.281; OKLCH L 65.8% C 0.153 H 259.9°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5790EE
RGBrgb(87, 144, 238)
HSLhsl(217, 82%, 64%)
HSVhsv(217, 63%, 93%)
CMYKcmyk(63.4%, 39.5%, 0%, 6.7%)
CIE-LABlab(60.02, 10.22, -52.92)
CIE-LCHlch(60.02, 53.89, 280.93°)
OKLaboklab(65.84% -0.0269 -0.1506)
OKLCHoklch(65.84% 0.153 259.9)
XYZxyz(29.3309, 28.1430, 84.7588)
Luminance0.2815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5790EE #EEB557
analogous
#57DBEE #5790EE #6957EE
triadic
#5790EE #EE5790 #90EE57
tetradic
#5790EE #EE57DB #EEB557 #57EE69
square
#5790EE #EE57DB #EEB557 #57EE69
split-complementary
#5790EE #EE6957 #DBEE57
monochromatic
#1351B8 #1F6BE8 #5790EE #8FB5F4 #C6D9F9

Accessibility & contrast

On white

3.17
#5790EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#5790EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5790EE
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5790EE#FFFFFF#000000##000000
##5790EE1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#508AEC
Tritanopia (blue-blind)
#00A5B3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5790ee;
/* rgb */ color: rgb(87, 144, 238);
/* oklch */ color: oklch(65.8% 0.153 259.9);
Tailwind
colors: {
  custom: {
    50: '#94b0f4',
    500: '#5790ee',
    950: '#000000',
  },
}
SCSS
$custom: #5790ee;
$custom-light: #94b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5790ee",
  "rgb": {
    "r": 87,
    "g": 144,
    "b": 238
  },
  "hsl": {
    "h": 217.351,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65836,
    "c": 0.15298,
    "h": 259.9
  },
  "luminance": 0.28146
}

Semantic roles & 50–950 ramp

primary
#5790EE
secondary
#EBD7B6
accent
#8D08DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5790EE

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

Preview Lab → · Contrast checker → · Palette generator →

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