#5A91F1#5A91F1

#5A91F1 is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.4% C 0.155 H 260.8°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5A91F1
RGBrgb(90, 145, 241)
HSLhsl(218, 84%, 65%)
HSVhsv(218, 63%, 95%)
CMYKcmyk(62.7%, 39.8%, 0%, 5.5%)
CIE-LABlab(60.58, 11.15, -53.67)
CIE-LCHlch(60.58, 54.82, 281.74°)
OKLaboklab(66.36% -0.0248 -0.1527)
OKLCHoklch(66.36% 0.155 260.8)
XYZxyz(30.2134, 28.7725, 87.1635)
Luminance0.2878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A91F1 #F1BA5A
analogous
#5ADCF1 #5A91F1 #6F5AF1
triadic
#5A91F1 #F15A91 #91F15A
tetradic
#5A91F1 #F15ADC #F1BA5A #5AF16F
square
#5A91F1 #F15ADC #F1BA5A #5AF16F
split-complementary
#5A91F1 #F16F5A #DCF15A
monochromatic
#1050C0 #226BEC #5A91F1 #92B7F6 #CBDCFB

Accessibility & contrast

On white

3.11
#5A91F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#5A91F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A91F1
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A91F1#FFFFFF#000000##000000
##5A91F11.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF5
Deuteranopia (green-blind)
#508CEF
Tritanopia (blue-blind)
#00A7B5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5a91f1;
/* rgb */ color: rgb(90, 145, 241);
/* oklch */ color: oklch(66.4% 0.155 260.8);
Tailwind
colors: {
  custom: {
    50: '#96b0f6',
    500: '#5a91f1',
    950: '#000000',
  },
}
SCSS
$custom: #5a91f1;
$custom-light: #96b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a91f1",
  "rgb": {
    "r": 90,
    "g": 145,
    "b": 241
  },
  "hsl": {
    "h": 218.146,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6636,
    "c": 0.15475,
    "h": 260.8
  },
  "luminance": 0.28775
}

Semantic roles & 50–950 ramp

primary
#5A91F1
secondary
#EDDABA
accent
#9105E1
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A91F1

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

Preview Lab → · Contrast checker → · Palette generator →

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