#5A91E4#5A91E4

#5A91E4 is a light, vivid blue. Relative luminance 0.280; OKLCH L 65.6% C 0.138 H 258.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5A91E4
RGBrgb(90, 145, 228)
HSLhsl(216, 72%, 62%)
HSVhsv(216, 61%, 89%)
CMYKcmyk(60.5%, 36.4%, 0%, 10.6%)
CIE-LABlab(59.91, 6.84, -47.54)
CIE-LCHlch(59.91, 48.03, 278.19°)
OKLaboklab(65.62% -0.0277 -0.1348)
OKLCHoklch(65.62% 0.138 258.4)
XYZxyz(28.3405, 28.0233, 77.2993)
Luminance0.2803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A91E4 #E4AD5A
analogous
#5AD6E4 #5A91E4 #685AE4
triadic
#5A91E4 #E45A91 #91E45A
tetradic
#5A91E4 #E45AD6 #E4AD5A #5AE468
square
#5A91E4 #E45AD6 #E4AD5A #5AE468
split-complementary
#5A91E4 #E4685A #D6E45A
monochromatic
#1C54A8 #256EDB #5A91E4 #8FB4ED #C3D7F5

Accessibility & contrast

On white

3.18
#5A91E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#5A91E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A91E4
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A91E4#FFFFFF#000000##000000
##5A91E41.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E7
Deuteranopia (green-blind)
#5B8AE2
Tritanopia (blue-blind)
#00A4B0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5a91e4;
/* rgb */ color: rgb(90, 145, 228);
/* oklch */ color: oklch(65.6% 0.138 258.4);
Tailwind
colors: {
  custom: {
    50: '#94b0ed',
    500: '#5a91e4',
    950: '#000000',
  },
}
SCSS
$custom: #5a91e4;
$custom-light: #94b0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5a91e4",
  "rgb": {
    "r": 90,
    "g": 145,
    "b": 228
  },
  "hsl": {
    "h": 216.087,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65621,
    "c": 0.13761,
    "h": 258.4
  },
  "luminance": 0.28026
}

Semantic roles & 50–950 ramp

primary
#5A91E4
secondary
#E6D2B4
accent
#8612D4
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A91E4

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

Preview Lab → · Contrast checker → · Palette generator →

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