#8397EE#8397EE

#8397EE is a light, vivid blue. Relative luminance 0.331; OKLCH L 69.8% C 0.130 H 272.8°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8397EE
RGBrgb(131, 151, 238)
HSLhsl(229, 76%, 72%)
HSVhsv(229, 45%, 93%)
CMYKcmyk(45%, 36.6%, 0%, 6.7%)
CIE-LABlab(64.27, 15.30, -46.04)
CIE-LCHlch(64.27, 48.51, 288.39°)
OKLaboklab(69.75% 0.0064 -0.1297)
OKLCHoklch(69.75% 0.13 272.8)
XYZxyz(35.8545, 33.1296, 85.3777)
Luminance0.3313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8397EE #EEDA83
analogous
#83CDEE #8397EE #A483EE
triadic
#8397EE #EE8397 #97EE83
tetradic
#8397EE #EE83CD #EEDA83 #83EEA4
square
#8397EE #EE83CD #EEDA83 #83EEA4
split-complementary
#8397EE #EEA483 #CDEE83
monochromatic
#1E41D9 #4D6AE7 #8397EE #B9C4F5 #E4E8FB

Accessibility & contrast

On white

2.75
#8397EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#8397EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8397EE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8397EE#FFFFFF#000000##000000
##8397EE1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F1
Deuteranopia (green-blind)
#6E98EC
Tritanopia (blue-blind)
#5DA9B7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8397ee;
/* rgb */ color: rgb(131, 151, 238);
/* oklch */ color: oklch(69.8% 0.130 272.8);
Tailwind
colors: {
  custom: {
    50: '#acb5f4',
    500: '#8397ee',
    950: '#000000',
  },
}
SCSS
$custom: #8397ee;
$custom-light: #acb5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8397ee",
  "rgb": {
    "r": 131,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 228.785,
    "s": 75.887,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69751,
    "c": 0.12982,
    "h": 272.8
  },
  "luminance": 0.33132
}

Semantic roles & 50–950 ramp

primary
#8397EE
secondary
#F3EED8
accent
#B20DD8
background
#FAFBFE
surface
#F5F6FD
border
#CFD0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #8397EE

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

Preview Lab → · Contrast checker → · Palette generator →

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