#5790E9#5790E9

#5790E9 is a light, vivid blue. Relative luminance 0.279; OKLCH L 65.5% C 0.146 H 259.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5790E9
RGBrgb(87, 144, 233)
HSLhsl(217, 77%, 63%)
HSVhsv(217, 63%, 91%)
CMYKcmyk(62.7%, 38.2%, 0%, 8.6%)
CIE-LABlab(59.76, 8.54, -50.56)
CIE-LCHlch(59.76, 51.28, 279.59°)
OKLaboklab(65.55% -0.0279 -0.1437)
OKLCHoklch(65.55% 0.146 259)
XYZxyz(28.6065, 27.8533, 80.9437)
Luminance0.2786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5790E9 #E9B057
analogous
#57D9E9 #5790E9 #6757E9
triadic
#5790E9 #E95790 #90E957
tetradic
#5790E9 #E957D9 #E9B057 #57E967
square
#5790E9 #E957D9 #E9B057 #57E967
split-complementary
#5790E9 #E96757 #D9E957
monochromatic
#1752AF #216CE2 #5790E9 #8DB4F0 #C3D8F7

Accessibility & contrast

On white

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

On black

6.57
#5790E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5790E9
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5790E9#FFFFFF#000000##000000
##5790E91.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6997ED
Deuteranopia (green-blind)
#548AE7
Tritanopia (blue-blind)
#00A4B1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5790e9;
/* rgb */ color: rgb(87, 144, 233);
/* oklch */ color: oklch(65.5% 0.146 259.0);
Tailwind
colors: {
  custom: {
    50: '#93b0f0',
    500: '#5790e9',
    950: '#000000',
  },
}
SCSS
$custom: #5790e9;
$custom-light: #93b0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5790e9",
  "rgb": {
    "r": 87,
    "g": 144,
    "b": 233
  },
  "hsl": {
    "h": 216.575,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65548,
    "c": 0.1464,
    "h": 259
  },
  "luminance": 0.27856
}

Semantic roles & 50–950 ramp

primary
#5790E9
secondary
#E8D4B3
accent
#890CD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5790E9

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

Preview Lab → · Contrast checker → · Palette generator →

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