#5A96EA#5A96EA

#5A96EA is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.0% C 0.140 H 257.1°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5A96EA
RGBrgb(90, 150, 234)
HSLhsl(215, 77%, 64%)
HSVhsv(215, 62%, 92%)
CMYKcmyk(61.5%, 35.9%, 0%, 8.2%)
CIE-LABlab(61.59, 5.88, -48.21)
CIE-LCHlch(61.59, 48.56, 276.95°)
OKLaboklab(67.03% -0.0314 -0.1367)
OKLCHoklch(67.03% 0.14 257.1)
XYZxyz(29.9688, 29.9241, 82.0225)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A96EA #EAAE5A
analogous
#5ADEEA #5A96EA #665AEA
triadic
#5A96EA #EA5A96 #96EA5A
tetradic
#5A96EA #EA5ADE #EAAE5A #5AEA66
square
#5A96EA #EA5ADE #EAAE5A #5AEA66
split-complementary
#5A96EA #EA665A #DEEA5A
monochromatic
#1758B3 #2473E3 #5A96EA #90B9F1 #C7DBF8

Accessibility & contrast

On white

3.01
#5A96EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#5A96EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A96EA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A96EA#FFFFFF#000000##000000
##5A96EA1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#729CED
Deuteranopia (green-blind)
#5E8FE8
Tritanopia (blue-blind)
#00A9B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5a96ea;
/* rgb */ color: rgb(90, 150, 234);
/* oklch */ color: oklch(67.0% 0.140 257.1);
Tailwind
colors: {
  custom: {
    50: '#95b4f1',
    500: '#5a96ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a96ea;
$custom-light: #95b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a96ea",
  "rgb": {
    "r": 90,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 215,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67026,
    "c": 0.14026,
    "h": 257.1
  },
  "luminance": 0.29927
}

Semantic roles & 50–950 ramp

primary
#5A96EA
secondary
#E9D4B6
accent
#840CDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A96EA

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

Preview Lab → · Contrast checker → · Palette generator →

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