#5A91EF#5A91EF

#5A91EF is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.2% C 0.152 H 260.5°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5A91EF
RGBrgb(90, 145, 239)
HSLhsl(218, 82%, 65%)
HSVhsv(218, 62%, 94%)
CMYKcmyk(62.3%, 39.3%, 0%, 6.3%)
CIE-LABlab(60.47, 10.48, -52.73)
CIE-LCHlch(60.47, 53.77, 281.24°)
OKLaboklab(66.24% -0.0252 -0.15)
OKLCHoklch(66.24% 0.152 260.5)
XYZxyz(29.9163, 28.6537, 85.5988)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A91EF #EFB85A
analogous
#5ADCEF #5A91EF #6E5AEF
triadic
#5A91EF #EF5A91 #91EF5A
tetradic
#5A91EF #EF5ADC #EFB85A #5AEF6E
square
#5A91EF #EF5ADC #EFB85A #5AEF6E
split-complementary
#5A91EF #EF6E5A #DCEF5A
monochromatic
#1251BC #226CEA #5A91EF #92B6F4 #CADBFA

Accessibility & contrast

On white

3.12
#5A91EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#5A91EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A91EF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A91EF#FFFFFF#000000##000000
##5A91EF1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#528BED
Tritanopia (blue-blind)
#00A6B4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5a91ef;
/* rgb */ color: rgb(90, 145, 239);
/* oklch */ color: oklch(66.2% 0.152 260.5);
Tailwind
colors: {
  custom: {
    50: '#95b0f5',
    500: '#5a91ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a91ef;
$custom-light: #95b0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a91ef",
  "rgb": {
    "r": 90,
    "g": 145,
    "b": 239
  },
  "hsl": {
    "h": 217.852,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66244,
    "c": 0.15211,
    "h": 260.5
  },
  "luminance": 0.28656
}

Semantic roles & 50–950 ramp

primary
#5A91EF
secondary
#ECD9B9
accent
#8F07DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A91EF

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

Preview Lab → · Contrast checker → · Palette generator →

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