#5790EB#5790EB

#5790EB is a light, vivid blue. Relative luminance 0.280; OKLCH L 65.7% C 0.149 H 259.4°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5790EB
RGBrgb(87, 144, 235)
HSLhsl(217, 79%, 63%)
HSVhsv(217, 63%, 92%)
CMYKcmyk(63%, 38.7%, 0%, 7.8%)
CIE-LABlab(59.86, 9.21, -51.51)
CIE-LCHlch(59.86, 52.32, 280.14°)
OKLaboklab(65.66% -0.0275 -0.1465)
OKLCHoklch(65.66% 0.149 259.4)
XYZxyz(28.8938, 27.9682, 82.4569)
Luminance0.2797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5790EB #EBB257
analogous
#57DAEB #5790EB #6857EB
triadic
#5790EB #EB5790 #90EB57
tetradic
#5790EB #EB57DA #EBB257 #57EB68
square
#5790EB #EB57DA #EBB257 #57EB68
split-complementary
#5790EB #EB6857 #DAEB57
monochromatic
#1552B2 #206CE4 #5790EB #8EB4F2 #C4D8F8

Accessibility & contrast

On white

3.18
#5790EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#5790EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5790EB
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5790EB#FFFFFF#000000##000000
##5790EB1.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#538AE9
Tritanopia (blue-blind)
#00A5B2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5790eb;
/* rgb */ color: rgb(87, 144, 235);
/* oklch */ color: oklch(65.7% 0.149 259.4);
Tailwind
colors: {
  custom: {
    50: '#93b0f2',
    500: '#5790eb',
    950: '#000000',
  },
}
SCSS
$custom: #5790eb;
$custom-light: #93b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5790eb",
  "rgb": {
    "r": 87,
    "g": 144,
    "b": 235
  },
  "hsl": {
    "h": 216.892,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65663,
    "c": 0.14903,
    "h": 259.4
  },
  "luminance": 0.27971
}

Semantic roles & 50–950 ramp

primary
#5790EB
secondary
#E9D5B4
accent
#8B0ADB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5790EB

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

Preview Lab → · Contrast checker → · Palette generator →

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