#5A91E7#5A91E7

#5A91E7 is a light, vivid blue. Relative luminance 0.282; OKLCH L 65.8% C 0.142 H 259.0°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5A91E7
RGBrgb(90, 145, 231)
HSLhsl(217, 75%, 63%)
HSVhsv(217, 61%, 91%)
CMYKcmyk(61%, 37.2%, 0%, 9.4%)
CIE-LABlab(60.06, 7.83, -48.96)
CIE-LCHlch(60.06, 49.58, 279.08°)
OKLaboklab(65.79% -0.027 -0.139)
OKLCHoklch(65.79% 0.142 259)
XYZxyz(28.7606, 28.1914, 79.5116)
Luminance0.2819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A91E7 #E7B05A
analogous
#5AD7E7 #5A91E7 #6A5AE7
triadic
#5A91E7 #E75A91 #91E75A
tetradic
#5A91E7 #E75AD7 #E7B05A #5AE76A
square
#5A91E7 #E75AD7 #E7B05A #5AE76A
split-complementary
#5A91E7 #E76A5A #D7E75A
monochromatic
#1953AD #256DDF #5A91E7 #8FB5EF #C5D8F7

Accessibility & contrast

On white

3.16
#5A91E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#5A91E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A91E7
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A91E7#FFFFFF#000000##000000
##5A91E71.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C98EA
Deuteranopia (green-blind)
#598BE5
Tritanopia (blue-blind)
#00A4B1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5a91e7;
/* rgb */ color: rgb(90, 145, 231);
/* oklch */ color: oklch(65.8% 0.142 259.0);
Tailwind
colors: {
  custom: {
    50: '#94b0ef',
    500: '#5a91e7',
    950: '#000000',
  },
}
SCSS
$custom: #5a91e7;
$custom-light: #94b0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a91e7",
  "rgb": {
    "r": 90,
    "g": 145,
    "b": 231
  },
  "hsl": {
    "h": 216.596,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65788,
    "c": 0.14156,
    "h": 259
  },
  "luminance": 0.28194
}

Semantic roles & 50–950 ramp

primary
#5A91E7
secondary
#E8D4B5
accent
#890FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A91E7

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

Preview Lab → · Contrast checker → · Palette generator →

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