#5A91FB#5A91FB

#5A91FB is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.0% C 0.168 H 262.2°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5A91FB
RGBrgb(90, 145, 251)
HSLhsl(220, 95%, 67%)
HSVhsv(220, 64%, 98%)
CMYKcmyk(64.1%, 42.2%, 0%, 1.6%)
CIE-LABlab(61.12, 14.50, -58.31)
CIE-LCHlch(61.12, 60.08, 283.97°)
OKLaboklab(66.95% -0.0229 -0.1664)
OKLCHoklch(66.95% 0.168 262.2)
XYZxyz(31.7483, 29.3865, 95.2471)
Luminance0.2939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A91FB #FBC45A
analogous
#5AE2FB #5A91FB #745AFB
triadic
#5A91FB #FB5A91 #91FB5A
tetradic
#5A91FB #FB5AE2 #FBC45A #5AFB74
square
#5A91FB #FB5AE2 #FBC45A #5AFB74
split-complementary
#5A91FB #FB745A #E2FB5A
monochromatic
#054CD5 #1E69FA #5A91FB #96B9FC #D2E1FE

Accessibility & contrast

On white

3.05
#5A91FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#5A91FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A91FB
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A91FB#FFFFFF#000000##000000
##5A91FB1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFF
Deuteranopia (green-blind)
#468DF9
Tritanopia (blue-blind)
#00A9BA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5a91fb;
/* rgb */ color: rgb(90, 145, 251);
/* oklch */ color: oklch(67.0% 0.168 262.2);
Tailwind
colors: {
  custom: {
    50: '#97b0fd',
    500: '#5a91fb',
    950: '#000000',
  },
}
SCSS
$custom: #5a91fb;
$custom-light: #97b0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a91fb",
  "rgb": {
    "r": 90,
    "g": 145,
    "b": 251
  },
  "hsl": {
    "h": 219.503,
    "s": 95.266,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66953,
    "c": 0.16792,
    "h": 262.2
  },
  "luminance": 0.29389
}

Semantic roles & 50–950 ramp

primary
#5A91FB
secondary
#F2E1BF
accent
#9700E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5A91FB

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

Preview Lab → · Contrast checker → · Palette generator →

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