#5A96FD#5A96FD

#5A96FD is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.1% C 0.165 H 260.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5A96FD
RGBrgb(90, 150, 253)
HSLhsl(218, 98%, 67%)
HSVhsv(218, 64%, 99%)
CMYKcmyk(64.4%, 40.7%, 0%, 0.8%)
CIE-LABlab(62.57, 12.21, -57.09)
CIE-LCHlch(62.57, 58.38, 282.07°)
OKLaboklab(68.11% -0.0272 -0.1627)
OKLCHoklch(68.11% 0.165 260.5)
XYZxyz(32.8461, 31.0750, 97.1766)
Luminance0.3108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A96FD #FDC15A
analogous
#5AE8FD #5A96FD #705AFD
triadic
#5A96FD #FD5A96 #96FD5A
tetradic
#5A96FD #FD5AE8 #FDC15A #5AFD70
square
#5A96FD #FD5AE8 #FDC15A #5AFD70
split-complementary
#5A96FD #FD705A #E8FD5A
monochromatic
#0352DA #1E70FC #5A96FD #96BCFE #D3E3FE

Accessibility & contrast

On white

2.91
#5A96FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#5A96FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A96FD
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A96FD#FFFFFF#000000##000000
##5A96FD1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#4E90FB
Tritanopia (blue-blind)
#00AEBD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5a96fd;
/* rgb */ color: rgb(90, 150, 253);
/* oklch */ color: oklch(68.1% 0.165 260.5);
Tailwind
colors: {
  custom: {
    50: '#97b4fe',
    500: '#5a96fd',
    950: '#000000',
  },
}
SCSS
$custom: #5a96fd;
$custom-light: #97b4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5a96fd",
  "rgb": {
    "r": 90,
    "g": 150,
    "b": 253
  },
  "hsl": {
    "h": 217.914,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68108,
    "c": 0.16499,
    "h": 260.5
  },
  "luminance": 0.31078
}

Semantic roles & 50–950 ramp

primary
#5A96FD
secondary
#F3E0C0
accent
#9100E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5A96FD

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

Preview Lab → · Contrast checker → · Palette generator →

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