#5A91E8#5A91E8

#5A91E8 is a light, vivid blue. Relative luminance 0.283; OKLCH L 65.8% C 0.143 H 259.2°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5A91E8
RGBrgb(90, 145, 232)
HSLhsl(217, 76%, 63%)
HSVhsv(217, 61%, 91%)
CMYKcmyk(61.2%, 37.5%, 0%, 9%)
CIE-LABlab(60.11, 8.16, -49.44)
CIE-LCHlch(60.11, 50.11, 279.37°)
OKLaboklab(65.84% -0.0267 -0.1403)
OKLCHoklch(65.84% 0.143 259.2)
XYZxyz(28.9022, 28.2480, 80.2576)
Luminance0.2825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A91E8 #E8B15A
analogous
#5AD8E8 #5A91E8 #6A5AE8
triadic
#5A91E8 #E85A91 #91E85A
tetradic
#5A91E8 #E85AD8 #E8B15A #5AE86A
square
#5A91E8 #E85AD8 #E8B15A #5AE86A
split-complementary
#5A91E8 #E86A5A #D8E85A
monochromatic
#1853AF #246DE1 #5A91E8 #90B5EF #C5D9F7

Accessibility & contrast

On white

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

On black

6.65
#5A91E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A91E8
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A91E8#FFFFFF#000000##000000
##5A91E81.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B98EC
Deuteranopia (green-blind)
#588BE6
Tritanopia (blue-blind)
#00A5B1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5a91e8;
/* rgb */ color: rgb(90, 145, 232);
/* oklch */ color: oklch(65.8% 0.143 259.2);
Tailwind
colors: {
  custom: {
    50: '#94b0f0',
    500: '#5a91e8',
    950: '#000000',
  },
}
SCSS
$custom: #5a91e8;
$custom-light: #94b0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a91e8",
  "rgb": {
    "r": 90,
    "g": 145,
    "b": 232
  },
  "hsl": {
    "h": 216.761,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65844,
    "c": 0.14287,
    "h": 259.2
  },
  "luminance": 0.28251
}

Semantic roles & 50–950 ramp

primary
#5A91E8
secondary
#E8D5B5
accent
#8A0ED8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A91E8

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

Preview Lab → · Contrast checker → · Palette generator →

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