#5A91EA#5A91EA

#5A91EA is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.0% C 0.146 H 259.6°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5A91EA
RGBrgb(90, 145, 234)
HSLhsl(217, 77%, 64%)
HSVhsv(217, 62%, 92%)
CMYKcmyk(61.5%, 38%, 0%, 8.2%)
CIE-LABlab(60.21, 8.82, -50.38)
CIE-LCHlch(60.21, 51.15, 279.93°)
OKLaboklab(65.96% -0.0263 -0.1431)
OKLCHoklch(65.96% 0.146 259.6)
XYZxyz(29.1879, 28.3623, 81.7622)
Luminance0.2837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A91EA #EAB35A
analogous
#5AD9EA #5A91EA #6B5AEA
triadic
#5A91EA #EA5A91 #91EA5A
tetradic
#5A91EA #EA5AD9 #EAB35A #5AEA6B
square
#5A91EA #EA5AD9 #EAB35A #5AEA6B
split-complementary
#5A91EA #EA6B5A #D9EA5A
monochromatic
#1752B3 #246DE3 #5A91EA #90B5F1 #C7D9F8

Accessibility & contrast

On white

3.15
#5A91EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#5A91EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A91EA
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A91EA#FFFFFF#000000##000000
##5A91EA1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A98EE
Deuteranopia (green-blind)
#568BE8
Tritanopia (blue-blind)
#00A5B2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5a91ea;
/* rgb */ color: rgb(90, 145, 234);
/* oklch */ color: oklch(66.0% 0.146 259.6);
Tailwind
colors: {
  custom: {
    50: '#95b0f1',
    500: '#5a91ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a91ea;
$custom-light: #95b0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a91ea",
  "rgb": {
    "r": 90,
    "g": 145,
    "b": 234
  },
  "hsl": {
    "h": 217.083,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65957,
    "c": 0.14551,
    "h": 259.6
  },
  "luminance": 0.28365
}

Semantic roles & 50–950 ramp

primary
#5A91EA
secondary
#E9D6B6
accent
#8B0CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A91EA

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

Preview Lab → · Contrast checker → · Palette generator →

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