#8398EA#8398EA

#8398EA is a light, vivid blue. Relative luminance 0.332; OKLCH L 69.7% C 0.123 H 272.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8398EA
RGBrgb(131, 152, 234)
HSLhsl(228, 71%, 72%)
HSVhsv(228, 44%, 92%)
CMYKcmyk(44%, 35%, 0%, 8.2%)
CIE-LABlab(64.34, 13.57, -43.72)
CIE-LCHlch(64.34, 45.78, 287.25°)
OKLaboklab(69.75% 0.0042 -0.1229)
OKLCHoklch(69.75% 0.123 272)
XYZxyz(35.4350, 33.2204, 82.3710)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8398EA #EAD583
analogous
#83CCEA #8398EA #A283EA
triadic
#8398EA #EA8398 #98EA83
tetradic
#8398EA #EA83CC #EAD583 #83EAA2
square
#8398EA #EA83CC #EAD583 #83EAA2
split-complementary
#8398EA #EAA283 #CCEA83
monochromatic
#2346CF #4F6DE1 #8398EA #B7C3F3 #E5E9FB

Accessibility & contrast

On white

2.75
#8398EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#8398EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8398EA
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8398EA#FFFFFF#000000##000000
##8398EA1.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)
#7BA1ED
Deuteranopia (green-blind)
#7198E8
Tritanopia (blue-blind)
#5FA9B6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8398ea;
/* rgb */ color: rgb(131, 152, 234);
/* oklch */ color: oklch(69.7% 0.123 272.0);
Tailwind
colors: {
  custom: {
    50: '#abb6f1',
    500: '#8398ea',
    950: '#000000',
  },
}
SCSS
$custom: #8398ea;
$custom-light: #abb6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8398ea",
  "rgb": {
    "r": 131,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 227.767,
    "s": 71.034,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69746,
    "c": 0.12299,
    "h": 272
  },
  "luminance": 0.33222
}

Semantic roles & 50–950 ramp

primary
#8398EA
secondary
#F2ECD7
accent
#AC12D3
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #8398EA

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

Preview Lab → · Contrast checker → · Palette generator →

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