#5A96EC#5A96EC

#5A96EC is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.1% C 0.143 H 257.5°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5A96EC
RGBrgb(90, 150, 236)
HSLhsl(215, 79%, 64%)
HSVhsv(215, 62%, 93%)
CMYKcmyk(61.9%, 36.4%, 0%, 7.5%)
CIE-LABlab(61.69, 6.54, -49.15)
CIE-LCHlch(61.69, 49.59, 277.58°)
OKLaboklab(67.14% -0.0309 -0.1395)
OKLCHoklch(67.14% 0.143 257.5)
XYZxyz(30.2577, 30.0397, 83.5443)
Luminance0.3004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A96EC #ECB05A
analogous
#5ADFEC #5A96EC #675AEC
triadic
#5A96EC #EC5A96 #96EC5A
tetradic
#5A96EC #EC5ADF #ECB05A #5AEC67
square
#5A96EC #EC5ADF #ECB05A #5AEC67
split-complementary
#5A96EC #EC675A #DFEC5A
monochromatic
#1557B7 #2373E6 #5A96EC #91B9F2 #C8DCF9

Accessibility & contrast

On white

3.00
#5A96EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#5A96EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A96EC
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A96EC#FFFFFF#000000##000000
##5A96EC1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CF0
Deuteranopia (green-blind)
#5D8FEA
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5a96ec;
/* rgb */ color: rgb(90, 150, 236);
/* oklch */ color: oklch(67.1% 0.143 257.5);
Tailwind
colors: {
  custom: {
    50: '#95b4f2',
    500: '#5a96ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a96ec;
$custom-light: #95b4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a96ec",
  "rgb": {
    "r": 90,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 215.342,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67136,
    "c": 0.14285,
    "h": 257.5
  },
  "luminance": 0.30042
}

Semantic roles & 50–950 ramp

primary
#5A96EC
secondary
#EBD5B7
accent
#850ADC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A96EC

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

Preview Lab → · Contrast checker → · Palette generator →

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