#5A91EC#5A91EC

#5A91EC is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.1% C 0.148 H 260.0°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5A91EC
RGBrgb(90, 145, 236)
HSLhsl(217, 79%, 64%)
HSVhsv(217, 62%, 93%)
CMYKcmyk(61.9%, 38.6%, 0%, 7.5%)
CIE-LABlab(60.32, 9.48, -51.32)
CIE-LCHlch(60.32, 52.19, 280.47°)
OKLaboklab(66.07% -0.0258 -0.1459)
OKLCHoklch(66.07% 0.148 260)
XYZxyz(29.4768, 28.4779, 83.2840)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A91EC #ECB55A
analogous
#5ADAEC #5A91EC #6C5AEC
triadic
#5A91EC #EC5A91 #91EC5A
tetradic
#5A91EC #EC5ADA #ECB55A #5AEC6C
square
#5A91EC #EC5ADA #ECB55A #5AEC6C
split-complementary
#5A91EC #EC6C5A #DAEC5A
monochromatic
#1552B7 #236CE6 #5A91EC #91B6F2 #C8DAF9

Accessibility & contrast

On white

3.14
#5A91EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#5A91EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A91EC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A91EC#FFFFFF#000000##000000
##5A91EC1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#558BEA
Tritanopia (blue-blind)
#00A6B3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5a91ec;
/* rgb */ color: rgb(90, 145, 236);
/* oklch */ color: oklch(66.1% 0.148 260.0);
Tailwind
colors: {
  custom: {
    50: '#95b0f2',
    500: '#5a91ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a91ec;
$custom-light: #95b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a91ec",
  "rgb": {
    "r": 90,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 217.397,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66071,
    "c": 0.14815,
    "h": 260
  },
  "luminance": 0.28481
}

Semantic roles & 50–950 ramp

primary
#5A91EC
secondary
#EBD7B7
accent
#8D0ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A91EC

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

Preview Lab → · Contrast checker → · Palette generator →

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