#5A91F4#5A91F4

#5A91F4 is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.5% C 0.159 H 261.2°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5A91F4
RGBrgb(90, 145, 244)
HSLhsl(219, 88%, 65%)
HSVhsv(219, 63%, 96%)
CMYKcmyk(63.1%, 40.6%, 0%, 4.3%)
CIE-LABlab(60.74, 12.15, -55.07)
CIE-LCHlch(60.74, 56.39, 282.45°)
OKLaboklab(66.54% -0.0242 -0.1568)
OKLCHoklch(66.54% 0.159 261.2)
XYZxyz(30.6652, 28.9532, 89.5429)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A91F4 #F4BD5A
analogous
#5ADEF4 #5A91F4 #705AF4
triadic
#5A91F4 #F45A91 #91F45A
tetradic
#5A91F4 #F45ADE #F4BD5A #5AF470
square
#5A91F4 #F45ADE #F4BD5A #5AF470
split-complementary
#5A91F4 #F4705A #DEF45A
monochromatic
#0D4FC6 #216BF0 #5A91F4 #93B7F8 #CDDDFC

Accessibility & contrast

On white

3.09
#5A91F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#5A91F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A91F4
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A91F4#FFFFFF#000000##000000
##5A91F41.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF8
Deuteranopia (green-blind)
#4D8CF2
Tritanopia (blue-blind)
#00A8B7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5a91f4;
/* rgb */ color: rgb(90, 145, 244);
/* oklch */ color: oklch(66.5% 0.159 261.2);
Tailwind
colors: {
  custom: {
    50: '#96b0f8',
    500: '#5a91f4',
    950: '#000000',
  },
}
SCSS
$custom: #5a91f4;
$custom-light: #96b0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a91f4",
  "rgb": {
    "r": 90,
    "g": 145,
    "b": 244
  },
  "hsl": {
    "h": 218.571,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66536,
    "c": 0.1587,
    "h": 261.2
  },
  "luminance": 0.28956
}

Semantic roles & 50–950 ramp

primary
#5A91F4
secondary
#EFDCBB
accent
#9301E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5A91F4

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

Preview Lab → · Contrast checker → · Palette generator →

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