#5A96EF#5A96EF

#5A96EF is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.3% C 0.147 H 258.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5A96EF
RGBrgb(90, 150, 239)
HSLhsl(216, 82%, 65%)
HSVhsv(216, 62%, 94%)
CMYKcmyk(62.3%, 37.2%, 0%, 6.3%)
CIE-LABlab(61.84, 7.53, -50.57)
CIE-LCHlch(61.84, 51.12, 278.47°)
OKLaboklab(67.3% -0.0302 -0.1436)
OKLCHoklch(67.3% 0.147 258.1)
XYZxyz(30.6972, 30.2155, 85.8591)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A96EF #EFB35A
analogous
#5AE0EF #5A96EF #695AEF
triadic
#5A96EF #EF5A96 #96EF5A
tetradic
#5A96EF #EF5AE0 #EFB35A #5AEF69
square
#5A96EF #EF5AE0 #EFB35A #5AEF69
split-complementary
#5A96EF #EF695A #E0EF5A
monochromatic
#1257BC #2272EA #5A96EF #92BAF4 #CADDFA

Accessibility & contrast

On white

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

On black

7.04
#5A96EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A96EF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A96EF#FFFFFF#000000##000000
##5A96EF1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#5A8FED
Tritanopia (blue-blind)
#00AAB7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5a96ef;
/* rgb */ color: rgb(90, 150, 239);
/* oklch */ color: oklch(67.3% 0.147 258.1);
Tailwind
colors: {
  custom: {
    50: '#95b4f4',
    500: '#5a96ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a96ef;
$custom-light: #95b4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a96ef",
  "rgb": {
    "r": 90,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 215.839,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67303,
    "c": 0.14674,
    "h": 258.1
  },
  "luminance": 0.30218
}

Semantic roles & 50–950 ramp

primary
#5A96EF
secondary
#ECD7B9
accent
#8807DF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A96EF

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

Preview Lab → · Contrast checker → · Palette generator →

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