#8397DC#8397DC

#8397DC is a light, moderate blue. Relative luminance 0.321; OKLCH L 68.8% C 0.105 H 271.1°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8397DC
RGBrgb(131, 151, 220)
HSLhsl(227, 56%, 69%)
HSVhsv(227, 40%, 86%)
CMYKcmyk(40.5%, 31.4%, 0%, 13.7%)
CIE-LABlab(63.45, 10.19, -37.38)
CIE-LCHlch(63.45, 38.74, 285.25°)
OKLaboklab(68.85% 0.002 -0.1045)
OKLCHoklch(68.85% 0.105 271.1)
XYZxyz(33.3410, 32.1242, 72.1401)
Luminance0.3213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8397DC #DCC883
analogous
#83C4DC #8397DC #9C83DC
triadic
#8397DC #DC8397 #97DC83
tetradic
#8397DC #DC83C4 #DCC883 #83DC9C
square
#8397DC #DC83C4 #DCC883 #83DC9C
split-complementary
#8397DC #DC9C83 #C4DC83
monochromatic
#324FB2 #536FCF #8397DC #B3BFE9 #E2E7F7

Accessibility & contrast

On white

2.83
#8397DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#8397DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8397DC
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8397DC#FFFFFF#000000##000000
##8397DC1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9EDF
Deuteranopia (green-blind)
#7896DA
Tritanopia (blue-blind)
#66A5B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8397dc;
/* rgb */ color: rgb(131, 151, 220);
/* oklch */ color: oklch(68.8% 0.105 271.1);
Tailwind
colors: {
  custom: {
    50: '#aab5e7',
    500: '#8397dc',
    950: '#000000',
  },
}
SCSS
$custom: #8397dc;
$custom-light: #aab5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8397dc",
  "rgb": {
    "r": 131,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 226.517,
    "s": 55.975,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68848,
    "c": 0.10457,
    "h": 271.1
  },
  "luminance": 0.32126
}

Semantic roles & 50–950 ramp

primary
#8397DC
secondary
#EBE5D0
accent
#9F22C4
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #8397DC

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

Preview Lab → · Contrast checker → · Palette generator →

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