#8396EC#8396EC

#8396EC is a light, vivid blue. Relative luminance 0.327; OKLCH L 69.4% C 0.128 H 273.2°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8396EC
RGBrgb(131, 150, 236)
HSLhsl(229, 73%, 72%)
HSVhsv(229, 44%, 93%)
CMYKcmyk(44.5%, 36.4%, 0%, 7.5%)
CIE-LABlab(63.91, 15.31, -45.50)
CIE-LCHlch(63.91, 48.00, 288.59°)
OKLaboklab(69.45% 0.0071 -0.1281)
OKLCHoklch(69.45% 0.128 273.2)
XYZxyz(35.4020, 32.6922, 83.7854)
Luminance0.3269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8396EC #ECD983
analogous
#83CBEC #8396EC #A583EC
triadic
#8396EC #EC8396 #96EC83
tetradic
#8396EC #EC83CB #ECD983 #83ECA5
square
#8396EC #EC83CB #ECD983 #83ECA5
split-complementary
#8396EC #ECA583 #CBEC83
monochromatic
#2041D4 #4E69E4 #8396EC #B8C3F4 #E4E9FB

Accessibility & contrast

On white

2.79
#8396EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#8396EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8396EC
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8396EC#FFFFFF#000000##000000
##8396EC1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEF
Deuteranopia (green-blind)
#6E97EA
Tritanopia (blue-blind)
#5EA8B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8396ec;
/* rgb */ color: rgb(131, 150, 236);
/* oklch */ color: oklch(69.4% 0.128 273.2);
Tailwind
colors: {
  custom: {
    50: '#acb4f2',
    500: '#8396ec',
    950: '#000000',
  },
}
SCSS
$custom: #8396ec;
$custom-light: #acb4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8396ec",
  "rgb": {
    "r": 131,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 229.143,
    "s": 73.427,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69446,
    "c": 0.12829,
    "h": 273.2
  },
  "luminance": 0.32694
}

Semantic roles & 50–950 ramp

primary
#8396EC
secondary
#F3EED8
accent
#B210D6
background
#FAFBFE
surface
#F5F6FD
border
#CFD0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #8396EC

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

Preview Lab → · Contrast checker → · Palette generator →

#8396EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva