#5A91E5#5A91E5

#5A91E5 is a light, vivid blue. Relative luminance 0.281; OKLCH L 65.7% C 0.139 H 258.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5A91E5
RGBrgb(90, 145, 229)
HSLhsl(216, 73%, 63%)
HSVhsv(216, 61%, 90%)
CMYKcmyk(60.7%, 36.7%, 0%, 10.2%)
CIE-LABlab(59.96, 7.17, -48.01)
CIE-LCHlch(59.96, 48.55, 278.49°)
OKLaboklab(65.68% -0.0274 -0.1362)
OKLCHoklch(65.68% 0.139 258.6)
XYZxyz(28.4797, 28.0790, 78.0325)
Luminance0.2808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A91E5 #E5AE5A
analogous
#5AD7E5 #5A91E5 #685AE5
triadic
#5A91E5 #E55A91 #91E55A
tetradic
#5A91E5 #E55AD7 #E5AE5A #5AE568
square
#5A91E5 #E55AD7 #E5AE5A #5AE568
split-complementary
#5A91E5 #E5685A #D7E55A
monochromatic
#1B53AA #256EDD #5A91E5 #8FB4ED #C4D7F6

Accessibility & contrast

On white

3.17
#5A91E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#5A91E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A91E5
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A91E5#FFFFFF#000000##000000
##5A91E51.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)
#6D98E8
Deuteranopia (green-blind)
#5A8BE3
Tritanopia (blue-blind)
#00A4B0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5a91e5;
/* rgb */ color: rgb(90, 145, 229);
/* oklch */ color: oklch(65.7% 0.139 258.6);
Tailwind
colors: {
  custom: {
    50: '#94b0ed',
    500: '#5a91e5',
    950: '#000000',
  },
}
SCSS
$custom: #5a91e5;
$custom-light: #94b0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5a91e5",
  "rgb": {
    "r": 90,
    "g": 145,
    "b": 229
  },
  "hsl": {
    "h": 216.259,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65676,
    "c": 0.13892,
    "h": 258.6
  },
  "luminance": 0.28082
}

Semantic roles & 50–950 ramp

primary
#5A91E5
secondary
#E7D3B4
accent
#8711D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A91E5

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

Preview Lab → · Contrast checker → · Palette generator →

#5A91E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva