#8397EF#8397EF

#8397EF is a light, vivid blue. Relative luminance 0.332; OKLCH L 69.8% C 0.131 H 272.9°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8397EF
RGBrgb(131, 151, 239)
HSLhsl(229, 77%, 73%)
HSVhsv(229, 45%, 94%)
CMYKcmyk(45.2%, 36.8%, 0%, 6.3%)
CIE-LABlab(64.31, 15.59, -46.51)
CIE-LCHlch(64.31, 49.06, 288.53°)
OKLaboklab(69.8% 0.0066 -0.131)
OKLCHoklch(69.8% 0.131 272.9)
XYZxyz(36.0018, 33.1885, 86.1536)
Luminance0.3319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8397EF #EFDB83
analogous
#83CDEF #8397EF #A583EF
triadic
#8397EF #EF8397 #97EF83
tetradic
#8397EF #EF83CD #EFDB83 #83EFA5
square
#8397EF #EF83CD #EFDB83 #83EFA5
split-complementary
#8397EF #EFA583 #CDEF83
monochromatic
#1C40DB #4D6AE8 #8397EF #B9C4F6 #E4E8FC

Accessibility & contrast

On white

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

On black

7.64
#8397EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8397EF
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8397EF#FFFFFF#000000##000000
##8397EF1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F3
Deuteranopia (green-blind)
#6D98ED
Tritanopia (blue-blind)
#5CA9B8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8397ef;
/* rgb */ color: rgb(131, 151, 239);
/* oklch */ color: oklch(69.8% 0.131 272.9);
Tailwind
colors: {
  custom: {
    50: '#acb5f4',
    500: '#8397ef',
    950: '#000000',
  },
}
SCSS
$custom: #8397ef;
$custom-light: #acb5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8397ef",
  "rgb": {
    "r": 131,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 228.889,
    "s": 77.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69803,
    "c": 0.1312,
    "h": 272.9
  },
  "luminance": 0.33191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8397EF

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

Preview Lab → · Contrast checker → · Palette generator →

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