#8396EA#8396EA

#8396EA is a light, vivid blue. Relative luminance 0.326; OKLCH L 69.3% C 0.125 H 273.1°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8396EA
RGBrgb(131, 150, 234)
HSLhsl(229, 71%, 72%)
HSVhsv(229, 44%, 92%)
CMYKcmyk(44%, 35.9%, 0%, 8.2%)
CIE-LABlab(63.82, 14.73, -44.54)
CIE-LCHlch(63.82, 46.91, 288.30°)
OKLaboklab(69.34% 0.0067 -0.1253)
OKLCHoklch(69.34% 0.125 273.1)
XYZxyz(35.1131, 32.5766, 82.2637)
Luminance0.3258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8396EA #EAD783
analogous
#83CAEA #8396EA #A483EA
triadic
#8396EA #EA8396 #96EA83
tetradic
#8396EA #EA83CA #EAD783 #83EAA4
square
#8396EA #EA83CA #EAD783 #83EAA4
split-complementary
#8396EA #EAA483 #CAEA83
monochromatic
#2343CF #4F6AE1 #8396EA #B7C2F3 #E5E9FB

Accessibility & contrast

On white

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

On black

7.52
#8396EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8396EA
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8396EA#FFFFFF#000000##000000
##8396EA1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#789FED
Deuteranopia (green-blind)
#6F97E8
Tritanopia (blue-blind)
#5FA7B5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8396ea;
/* rgb */ color: rgb(131, 150, 234);
/* oklch */ color: oklch(69.3% 0.125 273.1);
Tailwind
colors: {
  custom: {
    50: '#abb4f1',
    500: '#8396ea',
    950: '#000000',
  },
}
SCSS
$custom: #8396ea;
$custom-light: #abb4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8396ea",
  "rgb": {
    "r": 131,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 228.932,
    "s": 71.034,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69343,
    "c": 0.12549,
    "h": 273.1
  },
  "luminance": 0.32579
}

Semantic roles & 50–950 ramp

primary
#8396EA
secondary
#F2EDD7
accent
#B012D3
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #8396EA

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

Preview Lab → · Contrast checker → · Palette generator →

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