#5A96F7#5A96F7

#5A96F7 is a light, vivid blue. Relative luminance 0.307; OKLCH L 67.8% C 0.157 H 259.6°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#5A96F7
RGBrgb(90, 150, 247)
HSLhsl(217, 91%, 66%)
HSVhsv(217, 64%, 97%)
CMYKcmyk(63.6%, 39.3%, 0%, 3.1%)
CIE-LABlab(62.25, 10.20, -54.31)
CIE-LCHlch(62.25, 55.26, 280.63°)
OKLaboklab(67.76% -0.0285 -0.1546)
OKLCHoklch(67.76% 0.157 259.6)
XYZxyz(31.9053, 30.6987, 92.2217)
Luminance0.3070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A96F7 #F7BB5A
analogous
#5AE4F7 #5A96F7 #6C5AF7
triadic
#5A96F7 #F75A96 #96F75A
tetradic
#5A96F7 #F75AE4 #F7BB5A #5AF76C
square
#5A96F7 #F75AE4 #F7BB5A #5AF76C
split-complementary
#5A96F7 #F76C5A #E4F75A
monochromatic
#0A54CD #2071F4 #5A96F7 #94BBFA #CFE0FD

Accessibility & contrast

On white

2.94
#5A96F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#5A96F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A96F7
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A96F7#FFFFFF#000000##000000
##5A96F71.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9EFB
Deuteranopia (green-blind)
#5490F5
Tritanopia (blue-blind)
#00ACBB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5a96f7;
/* rgb */ color: rgb(90, 150, 247);
/* oklch */ color: oklch(67.8% 0.157 259.6);
Tailwind
colors: {
  custom: {
    50: '#96b4fa',
    500: '#5a96f7',
    950: '#000000',
  },
}
SCSS
$custom: #5a96f7;
$custom-light: #96b4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a96f7",
  "rgb": {
    "r": 90,
    "g": 150,
    "b": 247
  },
  "hsl": {
    "h": 217.07,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67758,
    "c": 0.15717,
    "h": 259.6
  },
  "luminance": 0.30702
}

Semantic roles & 50–950 ramp

primary
#5A96F7
secondary
#F0DCBD
accent
#8E00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5A96F7

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

Preview Lab → · Contrast checker → · Palette generator →

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