#5791EE#5791EE

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

Color values

HEX#5791EE
RGBrgb(87, 145, 238)
HSLhsl(217, 82%, 64%)
HSVhsv(217, 63%, 93%)
CMYKcmyk(63.4%, 39.1%, 0%, 6.7%)
CIE-LABlab(60.29, 9.63, -52.48)
CIE-LCHlch(60.29, 53.36, 280.39°)
OKLaboklab(66.05% -0.0278 -0.1493)
OKLCHoklch(66.05% 0.152 259.4)
XYZxyz(29.4830, 28.4473, 84.8095)
Luminance0.2845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791EE #EEB457
analogous
#57DCEE #5791EE #6857EE
triadic
#5791EE #EE5791 #91EE57
tetradic
#5791EE #EE57DC #EEB457 #57EE68
square
#5791EE #EE57DC #EEB457 #57EE68
split-complementary
#5791EE #EE6857 #DCEE57
monochromatic
#1352B8 #1F6DE8 #5791EE #8FB5F4 #C6DAF9

Accessibility & contrast

On white

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

On black

6.69
#5791EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791EE
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791EE#FFFFFF#000000##000000
##5791EE1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#528BEC
Tritanopia (blue-blind)
#00A6B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5791ee;
/* rgb */ color: rgb(87, 145, 238);
/* oklch */ color: oklch(66.0% 0.152 259.4);
Tailwind
colors: {
  custom: {
    50: '#94b0f4',
    500: '#5791ee',
    950: '#000000',
  },
}
SCSS
$custom: #5791ee;
$custom-light: #94b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5791ee",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 238
  },
  "hsl": {
    "h": 216.954,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66048,
    "c": 0.15189,
    "h": 259.4
  },
  "luminance": 0.2845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5791EE

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

Preview Lab → · Contrast checker → · Palette generator →

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