#8397EB#8397EB

#8397EB is a light, vivid blue. Relative luminance 0.330; OKLCH L 69.6% C 0.126 H 272.6°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8397EB
RGBrgb(131, 151, 235)
HSLhsl(228, 72%, 72%)
HSVhsv(228, 44%, 92%)
CMYKcmyk(44.3%, 35.7%, 0%, 7.8%)
CIE-LABlab(64.12, 14.44, -44.61)
CIE-LCHlch(64.12, 46.89, 287.93°)
OKLaboklab(69.6% 0.0057 -0.1255)
OKLCHoklch(69.6% 0.126 272.6)
XYZxyz(35.4174, 32.9548, 83.0758)
Luminance0.3296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8397EB #EBD783
analogous
#83CBEB #8397EB #A383EB
triadic
#8397EB #EB8397 #97EB83
tetradic
#8397EB #EB83CB #EBD783 #83EBA3
square
#8397EB #EB83CB #EBD783 #83EBA3
split-complementary
#8397EB #EBA383 #CBEB83
monochromatic
#2244D2 #4E6BE2 #8397EB #B8C3F4 #E5E9FB

Accessibility & contrast

On white

2.77
#8397EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#8397EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8397EB
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8397EB#FFFFFF#000000##000000
##8397EB1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EE
Deuteranopia (green-blind)
#6F97E9
Tritanopia (blue-blind)
#5EA8B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8397eb;
/* rgb */ color: rgb(131, 151, 235);
/* oklch */ color: oklch(69.6% 0.126 272.6);
Tailwind
colors: {
  custom: {
    50: '#abb5f2',
    500: '#8397eb',
    950: '#000000',
  },
}
SCSS
$custom: #8397eb;
$custom-light: #abb5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8397eb",
  "rgb": {
    "r": 131,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 228.462,
    "s": 72.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69595,
    "c": 0.12563,
    "h": 272.6
  },
  "luminance": 0.32957
}

Semantic roles & 50–950 ramp

primary
#8397EB
secondary
#F2EDD8
accent
#AF11D4
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #8397EB

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

Preview Lab → · Contrast checker → · Palette generator →

#8397EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva