#5791E9#5791E9

#5791E9 is a light, vivid blue. Relative luminance 0.282; OKLCH L 65.8% C 0.145 H 258.5°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5791E9
RGBrgb(87, 145, 233)
HSLhsl(216, 77%, 63%)
HSVhsv(216, 63%, 91%)
CMYKcmyk(62.7%, 37.8%, 0%, 8.6%)
CIE-LABlab(60.03, 7.95, -50.13)
CIE-LCHlch(60.03, 50.75, 279.01°)
OKLaboklab(65.76% -0.0289 -0.1424)
OKLCHoklch(65.76% 0.145 258.5)
XYZxyz(28.7586, 28.1575, 80.9944)
Luminance0.2816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5791E9 #E9AF57
analogous
#57DAE9 #5791E9 #6657E9
triadic
#5791E9 #E95791 #91E957
tetradic
#5791E9 #E957DA #E9AF57 #57E966
square
#5791E9 #E957DA #E9AF57 #57E966
split-complementary
#5791E9 #E96657 #DAE957
monochromatic
#1753AF #216EE2 #5791E9 #8DB4F0 #C3D8F7

Accessibility & contrast

On white

3.17
#5791E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#5791E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5791E9
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5791E9#FFFFFF#000000##000000
##5791E91.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B98ED
Deuteranopia (green-blind)
#568AE7
Tritanopia (blue-blind)
#00A5B2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5791e9;
/* rgb */ color: rgb(87, 145, 233);
/* oklch */ color: oklch(65.8% 0.145 258.5);
Tailwind
colors: {
  custom: {
    50: '#93b0f0',
    500: '#5791e9',
    950: '#000000',
  },
}
SCSS
$custom: #5791e9;
$custom-light: #93b0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5791e9",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 233
  },
  "hsl": {
    "h": 216.164,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65762,
    "c": 0.14533,
    "h": 258.5
  },
  "luminance": 0.2816
}

Semantic roles & 50–950 ramp

primary
#5791E9
secondary
#E8D3B3
accent
#880CD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5791E9

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

Preview Lab → · Contrast checker → · Palette generator →

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