#5A96F2#5A96F2

#5A96F2 is a light, vivid blue. Relative luminance 0.304; OKLCH L 67.5% C 0.151 H 258.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5A96F2
RGBrgb(90, 150, 242)
HSLhsl(216, 85%, 65%)
HSVhsv(216, 63%, 95%)
CMYKcmyk(62.8%, 38%, 0%, 5.1%)
CIE-LABlab(61.99, 8.53, -51.98)
CIE-LCHlch(61.99, 52.67, 279.32°)
OKLaboklab(67.47% -0.0295 -0.1477)
OKLCHoklch(67.47% 0.151 258.7)
XYZxyz(31.1441, 30.3942, 88.2126)
Luminance0.3040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A96F2 #F2B65A
analogous
#5AE2F2 #5A96F2 #6A5AF2
triadic
#5A96F2 #F25A96 #96F25A
tetradic
#5A96F2 #F25AE2 #F2B65A #5AF26A
square
#5A96F2 #F25AE2 #F2B65A #5AF26A
split-complementary
#5A96F2 #F26A5A #E2F25A
monochromatic
#0F56C2 #2172EE #5A96F2 #93BAF6 #CBDEFB

Accessibility & contrast

On white

2.97
#5A96F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#5A96F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A96F2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A96F2#FFFFFF#000000##000000
##5A96F21.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#588FF0
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5a96f2;
/* rgb */ color: rgb(90, 150, 242);
/* oklch */ color: oklch(67.5% 0.151 258.7);
Tailwind
colors: {
  custom: {
    50: '#96b4f7',
    500: '#5a96f2',
    950: '#000000',
  },
}
SCSS
$custom: #5a96f2;
$custom-light: #96b4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a96f2",
  "rgb": {
    "r": 90,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 216.316,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67472,
    "c": 0.15065,
    "h": 258.7
  },
  "luminance": 0.30397
}

Semantic roles & 50–950 ramp

primary
#5A96F2
secondary
#EED9BA
accent
#8A04E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A96F2

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

Preview Lab → · Contrast checker → · Palette generator →

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