#5A96F0#5A96F0

#5A96F0 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.4% C 0.148 H 258.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5A96F0
RGBrgb(90, 150, 240)
HSLhsl(216, 83%, 65%)
HSVhsv(216, 63%, 94%)
CMYKcmyk(62.5%, 37.5%, 0%, 5.9%)
CIE-LABlab(61.89, 7.87, -51.04)
CIE-LCHlch(61.89, 51.64, 278.76°)
OKLaboklab(67.36% -0.03 -0.145)
OKLCHoklch(67.36% 0.148 258.3)
XYZxyz(30.8454, 30.2747, 86.6393)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A96F0 #F0B45A
analogous
#5AE1F0 #5A96F0 #695AF0
triadic
#5A96F0 #F05A96 #96F05A
tetradic
#5A96F0 #F05AE1 #F0B45A #5AF069
square
#5A96F0 #F05AE1 #F0B45A #5AF069
split-complementary
#5A96F0 #F0695A #E1F05A
monochromatic
#1157BE #2272EB #5A96F0 #92BAF5 #CADDFA

Accessibility & contrast

On white

2.98
#5A96F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#5A96F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A96F0
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A96F0#FFFFFF#000000##000000
##5A96F01.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF4
Deuteranopia (green-blind)
#5A8FEE
Tritanopia (blue-blind)
#00AAB7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5a96f0;
/* rgb */ color: rgb(90, 150, 240);
/* oklch */ color: oklch(67.4% 0.148 258.3);
Tailwind
colors: {
  custom: {
    50: '#95b4f5',
    500: '#5a96f0',
    950: '#000000',
  },
}
SCSS
$custom: #5a96f0;
$custom-light: #95b4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a96f0",
  "rgb": {
    "r": 90,
    "g": 150,
    "b": 240
  },
  "hsl": {
    "h": 216,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67359,
    "c": 0.14805,
    "h": 258.3
  },
  "luminance": 0.30278
}

Semantic roles & 50–950 ramp

primary
#5A96F0
secondary
#EDD8B9
accent
#8906E0
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A96F0

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

Preview Lab → · Contrast checker → · Palette generator →

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