#8398EB#8398EB

#8398EB is a light, vivid blue. Relative luminance 0.333; OKLCH L 69.8% C 0.124 H 272.1°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8398EB
RGBrgb(131, 152, 235)
HSLhsl(228, 72%, 72%)
HSVhsv(228, 44%, 92%)
CMYKcmyk(44.3%, 35.3%, 0%, 7.8%)
CIE-LABlab(64.39, 13.86, -44.20)
CIE-LCHlch(64.39, 46.32, 287.41°)
OKLaboklab(69.8% 0.0045 -0.1243)
OKLCHoklch(69.8% 0.124 272.1)
XYZxyz(35.5790, 33.2780, 83.1297)
Luminance0.3328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8398EB #EBD683
analogous
#83CCEB #8398EB #A283EB
triadic
#8398EB #EB8398 #98EB83
tetradic
#8398EB #EB83CC #EBD683 #83EBA2
square
#8398EB #EB83CC #EBD683 #83EBA2
split-complementary
#8398EB #EBA283 #CCEB83
monochromatic
#2245D2 #4E6CE2 #8398EB #B8C4F4 #E5E9FB

Accessibility & contrast

On white

2.74
#8398EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#8398EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8398EB
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8398EB#FFFFFF#000000##000000
##8398EB1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1EE
Deuteranopia (green-blind)
#7198E9
Tritanopia (blue-blind)
#5EA9B6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8398eb;
/* rgb */ color: rgb(131, 152, 235);
/* oklch */ color: oklch(69.8% 0.124 272.1);
Tailwind
colors: {
  custom: {
    50: '#abb6f2',
    500: '#8398eb',
    950: '#000000',
  },
}
SCSS
$custom: #8398eb;
$custom-light: #abb6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8398eb",
  "rgb": {
    "r": 131,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 227.885,
    "s": 72.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69797,
    "c": 0.12439,
    "h": 272.1
  },
  "luminance": 0.3328
}

Semantic roles & 50–950 ramp

primary
#8398EB
secondary
#F2EDD8
accent
#AD11D4
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #8398EB

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

Preview Lab → · Contrast checker → · Palette generator →

#8398EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva