#8397E2#8397E2

#8397E2 is a light, moderate blue. Relative luminance 0.324; OKLCH L 69.1% C 0.113 H 271.8°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8397E2
RGBrgb(131, 151, 226)
HSLhsl(227, 62%, 70%)
HSVhsv(227, 42%, 89%)
CMYKcmyk(42%, 33.2%, 0%, 11.4%)
CIE-LABlab(63.71, 11.87, -40.29)
CIE-LCHlch(63.71, 42.00, 286.42°)
OKLaboklab(69.14% 0.0036 -0.113)
OKLCHoklch(69.14% 0.113 271.8)
XYZxyz(34.1499, 32.4478, 76.4004)
Luminance0.3245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8397E2 #E2CE83
analogous
#83C7E2 #8397E2 #9E83E2
triadic
#8397E2 #E28397 #97E283
tetradic
#8397E2 #E283C7 #E2CE83 #83E29E
square
#8397E2 #E283C7 #E2CE83 #83E29E
split-complementary
#8397E2 #E29E83 #C7E283
monochromatic
#2C4BBE #516DD6 #8397E2 #B5C1EE #E6EAF9

Accessibility & contrast

On white

2.80
#8397E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#8397E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8397E2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8397E2#FFFFFF#000000##000000
##8397E21.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9FE5
Deuteranopia (green-blind)
#7597E0
Tritanopia (blue-blind)
#63A6B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8397e2;
/* rgb */ color: rgb(131, 151, 226);
/* oklch */ color: oklch(69.1% 0.113 271.8);
Tailwind
colors: {
  custom: {
    50: '#abb5eb',
    500: '#8397e2',
    950: '#000000',
  },
}
SCSS
$custom: #8397e2;
$custom-light: #abb5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8397e2",
  "rgb": {
    "r": 131,
    "g": 151,
    "b": 226
  },
  "hsl": {
    "h": 227.368,
    "s": 62.092,
    "l": 70
  },
  "oklch": {
    "l": 0.69141,
    "c": 0.11302,
    "h": 271.8
  },
  "luminance": 0.32449
}

Semantic roles & 50–950 ramp

primary
#8397E2
secondary
#EEE8D3
accent
#A51CCA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #8397E2

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

Preview Lab → · Contrast checker → · Palette generator →

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