#5A96F4#5A96F4

#5A96F4 is a light, vivid blue. Relative luminance 0.305; OKLCH L 67.6% C 0.153 H 259.1°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5A96F4
RGBrgb(90, 150, 244)
HSLhsl(217, 88%, 65%)
HSVhsv(217, 63%, 96%)
CMYKcmyk(63.1%, 38.5%, 0%, 4.3%)
CIE-LABlab(62.10, 9.20, -52.91)
CIE-LCHlch(62.10, 53.70, 279.86°)
OKLaboklab(67.59% -0.0291 -0.1505)
OKLCHoklch(67.59% 0.153 259.1)
XYZxyz(31.4461, 30.5150, 89.8032)
Luminance0.3052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A96F4 #F4B85A
analogous
#5AE3F4 #5A96F4 #6B5AF4
triadic
#5A96F4 #F45A96 #96F45A
tetradic
#5A96F4 #F45AE3 #F4B85A #5AF46B
square
#5A96F4 #F45AE3 #F4B85A #5AF46B
split-complementary
#5A96F4 #F46B5A #E3F45A
monochromatic
#0D55C6 #2171F0 #5A96F4 #93BBF8 #CDDFFC

Accessibility & contrast

On white

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

On black

7.10
#5A96F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A96F4
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A96F4#FFFFFF#000000##000000
##5A96F41.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9EF8
Deuteranopia (green-blind)
#568FF2
Tritanopia (blue-blind)
#00ABB9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5a96f4;
/* rgb */ color: rgb(90, 150, 244);
/* oklch */ color: oklch(67.6% 0.153 259.1);
Tailwind
colors: {
  custom: {
    50: '#96b4f8',
    500: '#5a96f4',
    950: '#000000',
  },
}
SCSS
$custom: #5a96f4;
$custom-light: #96b4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a96f4",
  "rgb": {
    "r": 90,
    "g": 150,
    "b": 244
  },
  "hsl": {
    "h": 216.623,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67586,
    "c": 0.15326,
    "h": 259.1
  },
  "luminance": 0.30518
}

Semantic roles & 50–950 ramp

primary
#5A96F4
secondary
#EFDBBB
accent
#8C01E4
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5A96F4

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

Preview Lab → · Contrast checker → · Palette generator →

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