#8097EA#8097EA

#8097EA is a light, vivid blue. Relative luminance 0.327; OKLCH L 69.3% C 0.125 H 271.1°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8097EA
RGBrgb(128, 151, 234)
HSLhsl(227, 72%, 71%)
HSVhsv(227, 45%, 92%)
CMYKcmyk(45.3%, 35.5%, 0%, 8.2%)
CIE-LABlab(63.89, 13.42, -44.45)
CIE-LCHlch(63.89, 46.43, 286.80°)
OKLaboklab(69.35% 0.0024 -0.1251)
OKLCHoklch(69.35% 0.125 271.1)
XYZxyz(34.8153, 32.6610, 82.2956)
Luminance0.3266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8097EA #EAD380
analogous
#80CCEA #8097EA #9E80EA
triadic
#8097EA #EA8097 #97EA80
tetradic
#8097EA #EA80CC #EAD380 #80EA9E
square
#8097EA #EA80CC #EAD380 #80EA9E
split-complementary
#8097EA #EA9E80 #CCEA80
monochromatic
#2247CE #4B6CE1 #8097EA #B5C2F3 #E5E9FB

Accessibility & contrast

On white

2.79
#8097EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#8097EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8097EA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8097EA#FFFFFF#000000##000000
##8097EA1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0ED
Deuteranopia (green-blind)
#6F97E8
Tritanopia (blue-blind)
#59A8B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8097ea;
/* rgb */ color: rgb(128, 151, 234);
/* oklch */ color: oklch(69.3% 0.125 271.1);
Tailwind
colors: {
  custom: {
    50: '#a9b5f1',
    500: '#8097ea',
    950: '#000000',
  },
}
SCSS
$custom: #8097ea;
$custom-light: #a9b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8097ea",
  "rgb": {
    "r": 128,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 226.981,
    "s": 71.622,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69346,
    "c": 0.12511,
    "h": 271.1
  },
  "luminance": 0.32663
}

Semantic roles & 50–950 ramp

primary
#8097EA
secondary
#F1EBD5
accent
#AA12D4
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #8097EA

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

Preview Lab → · Contrast checker → · Palette generator →

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