#5791ED#5791ED

#5791ED is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.0% C 0.151 H 259.3°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5791ED
RGBrgb(87, 145, 237)
HSLhsl(217, 81%, 64%)
HSVhsv(217, 63%, 93%)
CMYKcmyk(63.3%, 38.8%, 0%, 7.1%)
CIE-LABlab(60.24, 9.29, -52.01)
CIE-LCHlch(60.24, 52.84, 280.13°)
OKLaboklab(65.99% -0.0281 -0.1479)
OKLCHoklch(65.99% 0.151 259.3)
XYZxyz(29.3365, 28.3887, 84.0379)
Luminance0.2839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791ED #EDB357
analogous
#57DCED #5791ED #6857ED
triadic
#5791ED #ED5791 #91ED57
tetradic
#5791ED #ED57DC #EDB357 #57ED68
square
#5791ED #ED57DC #EDB357 #57ED68
split-complementary
#5791ED #ED6857 #DCED57
monochromatic
#1452B6 #206DE7 #5791ED #8EB5F3 #C6D9F9

Accessibility & contrast

On white

3.14
#5791ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#5791ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791ED
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791ED#FFFFFF#000000##000000
##5791ED1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F1
Deuteranopia (green-blind)
#538BEB
Tritanopia (blue-blind)
#00A6B3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5791ed;
/* rgb */ color: rgb(87, 145, 237);
/* oklch */ color: oklch(66.0% 0.151 259.3);
Tailwind
colors: {
  custom: {
    50: '#94b0f3',
    500: '#5791ed',
    950: '#000000',
  },
}
SCSS
$custom: #5791ed;
$custom-light: #94b0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5791ed",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 237
  },
  "hsl": {
    "h": 216.8,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6599,
    "c": 0.15058,
    "h": 259.3
  },
  "luminance": 0.28391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5791ED

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

Preview Lab → · Contrast checker → · Palette generator →

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