#5790ED#5790ED

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

Color values

HEX#5790ED
RGBrgb(87, 144, 237)
HSLhsl(217, 81%, 64%)
HSVhsv(217, 63%, 93%)
CMYKcmyk(63.3%, 39.2%, 0%, 7.1%)
CIE-LABlab(59.96, 9.88, -52.45)
CIE-LCHlch(59.96, 53.37, 280.67°)
OKLaboklab(65.78% -0.0271 -0.1492)
OKLCHoklch(65.78% 0.152 259.7)
XYZxyz(29.1844, 28.0844, 83.9872)
Luminance0.2809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5790ED #EDB457
analogous
#57DBED #5790ED #6957ED
triadic
#5790ED #ED5790 #90ED57
tetradic
#5790ED #ED57DB #EDB457 #57ED69
square
#5790ED #ED57DB #EDB457 #57ED69
split-complementary
#5790ED #ED6957 #DBED57
monochromatic
#1451B6 #206BE7 #5790ED #8EB5F3 #C6D9F9

Accessibility & contrast

On white

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

On black

6.62
#5790ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5790ED
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5790ED#FFFFFF#000000##000000
##5790ED1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F1
Deuteranopia (green-blind)
#518AEB
Tritanopia (blue-blind)
#00A5B3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5790ed;
/* rgb */ color: rgb(87, 144, 237);
/* oklch */ color: oklch(65.8% 0.152 259.7);
Tailwind
colors: {
  custom: {
    50: '#94b0f3',
    500: '#5790ed',
    950: '#000000',
  },
}
SCSS
$custom: #5790ed;
$custom-light: #94b0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5790ed",
  "rgb": {
    "r": 87,
    "g": 144,
    "b": 237
  },
  "hsl": {
    "h": 217.2,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65778,
    "c": 0.15167,
    "h": 259.7
  },
  "luminance": 0.28087
}

Semantic roles & 50–950 ramp

primary
#5790ED
secondary
#EAD6B5
accent
#8C09DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5790ED

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

Preview Lab → · Contrast checker → · Palette generator →

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