#8397EC#8397EC

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

Color values

HEX#8397EC
RGBrgb(131, 151, 236)
HSLhsl(229, 73%, 72%)
HSVhsv(229, 44%, 93%)
CMYKcmyk(44.5%, 36%, 0%, 7.5%)
CIE-LABlab(64.17, 14.73, -45.09)
CIE-LCHlch(64.17, 47.43, 288.09°)
OKLaboklab(69.65% 0.0059 -0.1269)
OKLCHoklch(69.65% 0.127 272.7)
XYZxyz(35.5623, 33.0127, 83.8388)
Luminance0.3301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8397EC #ECD883
analogous
#83CCEC #8397EC #A383EC
triadic
#8397EC #EC8397 #97EC83
tetradic
#8397EC #EC83CC #ECD883 #83ECA3
square
#8397EC #EC83CC #ECD883 #83ECA3
split-complementary
#8397EC #ECA383 #CCEC83
monochromatic
#2043D4 #4E6AE4 #8397EC #B8C4F4 #E4E9FB

Accessibility & contrast

On white

2.76
#8397EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#8397EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8397EC
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8397EC#FFFFFF#000000##000000
##8397EC1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0EF
Deuteranopia (green-blind)
#6F97EA
Tritanopia (blue-blind)
#5EA8B6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8397ec;
/* rgb */ color: rgb(131, 151, 236);
/* oklch */ color: oklch(69.6% 0.127 272.7);
Tailwind
colors: {
  custom: {
    50: '#abb5f2',
    500: '#8397ec',
    950: '#000000',
  },
}
SCSS
$custom: #8397ec;
$custom-light: #abb5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8397ec",
  "rgb": {
    "r": 131,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 228.571,
    "s": 73.427,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69647,
    "c": 0.12703,
    "h": 272.7
  },
  "luminance": 0.33015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8397EC

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

Preview Lab → · Contrast checker → · Palette generator →

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