#8397DF#8397DF

#8397DF is a light, moderate blue. Relative luminance 0.323; OKLCH L 69.0% C 0.109 H 271.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8397DF
RGBrgb(131, 151, 223)
HSLhsl(227, 59%, 69%)
HSVhsv(227, 41%, 87%)
CMYKcmyk(41.3%, 32.3%, 0%, 12.5%)
CIE-LABlab(63.58, 11.03, -38.84)
CIE-LCHlch(63.58, 40.37, 285.85°)
OKLaboklab(68.99% 0.0028 -0.1088)
OKLCHoklch(68.99% 0.109 271.5)
XYZxyz(33.7419, 32.2846, 74.2514)
Luminance0.3229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8397DF #DFCB83
analogous
#83C5DF #8397DF #9D83DF
triadic
#8397DF #DF8397 #97DF83
tetradic
#8397DF #DF83C5 #DFCB83 #83DF9D
square
#8397DF #DF83C5 #DFCB83 #83DF9D
split-complementary
#8397DF #DF9D83 #C5DF83
monochromatic
#304DB8 #526ED2 #8397DF #B4C0EC #E4E9F8

Accessibility & contrast

On white

2.82
#8397DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#8397DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8397DF
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8397DF#FFFFFF#000000##000000
##8397DF1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9EE2
Deuteranopia (green-blind)
#7696DD
Tritanopia (blue-blind)
#65A6B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8397df;
/* rgb */ color: rgb(131, 151, 223);
/* oklch */ color: oklch(69.0% 0.109 271.5);
Tailwind
colors: {
  custom: {
    50: '#aab5e9',
    500: '#8397df',
    950: '#000000',
  },
}
SCSS
$custom: #8397df;
$custom-light: #aab5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8397df",
  "rgb": {
    "r": 131,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 226.957,
    "s": 58.974,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68993,
    "c": 0.1088,
    "h": 271.5
  },
  "luminance": 0.32286
}

Semantic roles & 50–950 ramp

primary
#8397DF
secondary
#ECE6D2
accent
#A21FC7
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #8397DF

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

Preview Lab → · Contrast checker → · Palette generator →

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