#5A96F3#5A96F3

#5A96F3 is a light, vivid blue. Relative luminance 0.305; OKLCH L 67.5% C 0.152 H 258.9°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5A96F3
RGBrgb(90, 150, 243)
HSLhsl(216, 86%, 65%)
HSVhsv(216, 63%, 95%)
CMYKcmyk(63%, 38.3%, 0%, 4.7%)
CIE-LABlab(62.04, 8.86, -52.44)
CIE-LCHlch(62.04, 53.19, 279.59°)
OKLaboklab(67.53% -0.0293 -0.1491)
OKLCHoklch(67.53% 0.152 258.9)
XYZxyz(31.2947, 30.4545, 89.0057)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A96F3 #F3B75A
analogous
#5AE2F3 #5A96F3 #6B5AF3
triadic
#5A96F3 #F35A96 #96F35A
tetradic
#5A96F3 #F35AE2 #F3B75A #5AF36B
square
#5A96F3 #F35AE2 #F3B75A #5AF36B
split-complementary
#5A96F3 #F36B5A #E2F35A
monochromatic
#0E56C4 #2172EF #5A96F3 #93BAF7 #CCDFFB

Accessibility & contrast

On white

2.96
#5A96F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#5A96F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A96F3
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A96F3#FFFFFF#000000##000000
##5A96F31.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9EF7
Deuteranopia (green-blind)
#578FF1
Tritanopia (blue-blind)
#00ABB9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5a96f3;
/* rgb */ color: rgb(90, 150, 243);
/* oklch */ color: oklch(67.5% 0.152 258.9);
Tailwind
colors: {
  custom: {
    50: '#96b4f7',
    500: '#5a96f3',
    950: '#000000',
  },
}
SCSS
$custom: #5a96f3;
$custom-light: #96b4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a96f3",
  "rgb": {
    "r": 90,
    "g": 150,
    "b": 243
  },
  "hsl": {
    "h": 216.471,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67529,
    "c": 0.15196,
    "h": 258.9
  },
  "luminance": 0.30457
}

Semantic roles & 50–950 ramp

primary
#5A96F3
secondary
#EEDABB
accent
#8B03E3
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5A96F3

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

Preview Lab → · Contrast checker → · Palette generator →

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