#5A96EB#5A96EB

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

Color values

HEX#5A96EB
RGBrgb(90, 150, 235)
HSLhsl(215, 78%, 64%)
HSVhsv(215, 62%, 92%)
CMYKcmyk(61.7%, 36.2%, 0%, 7.8%)
CIE-LABlab(61.64, 6.21, -48.68)
CIE-LCHlch(61.64, 49.07, 277.27°)
OKLaboklab(67.08% -0.0311 -0.1381)
OKLCHoklch(67.08% 0.142 257.3)
XYZxyz(30.1128, 29.9817, 82.7813)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A96EB #EBAF5A
analogous
#5ADFEB #5A96EB #665AEB
triadic
#5A96EB #EB5A96 #96EB5A
tetradic
#5A96EB #EB5ADF #EBAF5A #5AEB66
square
#5A96EB #EB5ADF #EBAF5A #5AEB66
split-complementary
#5A96EB #EB665A #DFEB5A
monochromatic
#1658B5 #2373E4 #5A96EB #91B9F2 #C7DBF8

Accessibility & contrast

On white

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

On black

7.00
#5A96EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A96EB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A96EB#FFFFFF#000000##000000
##5A96EB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEE
Deuteranopia (green-blind)
#5D8FE9
Tritanopia (blue-blind)
#00A9B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5a96eb;
/* rgb */ color: rgb(90, 150, 235);
/* oklch */ color: oklch(67.1% 0.142 257.3);
Tailwind
colors: {
  custom: {
    50: '#95b4f2',
    500: '#5a96eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a96eb;
$custom-light: #95b4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a96eb",
  "rgb": {
    "r": 90,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 215.172,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67081,
    "c": 0.14155,
    "h": 257.3
  },
  "luminance": 0.29985
}

Semantic roles & 50–950 ramp

primary
#5A96EB
secondary
#EAD5B7
accent
#850BDB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A96EB

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

Preview Lab → · Contrast checker → · Palette generator →

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