#8097EB#8097EB

#8097EB is a light, vivid blue. Relative luminance 0.327; OKLCH L 69.4% C 0.127 H 271.2°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8097EB
RGBrgb(128, 151, 235)
HSLhsl(227, 73%, 71%)
HSVhsv(227, 46%, 92%)
CMYKcmyk(45.5%, 35.7%, 0%, 7.8%)
CIE-LABlab(63.93, 13.71, -44.92)
CIE-LCHlch(63.93, 46.97, 286.97°)
OKLaboklab(69.4% 0.0026 -0.1265)
OKLCHoklch(69.4% 0.127 271.2)
XYZxyz(34.9594, 32.7186, 83.0544)
Luminance0.3272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8097EB #EBD480
analogous
#80CCEB #8097EB #9E80EB
triadic
#8097EB #EB8097 #97EB80
tetradic
#8097EB #EB80CC #EBD480 #80EB9E
square
#8097EB #EB80CC #EBD480 #80EB9E
split-complementary
#8097EB #EB9E80 #CCEB80
monochromatic
#2146D0 #4B6CE3 #8097EB #B5C2F3 #E5E9FB

Accessibility & contrast

On white

2.78
#8097EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#8097EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8097EB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8097EB#FFFFFF#000000##000000
##8097EB1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0EE
Deuteranopia (green-blind)
#6E97E9
Tritanopia (blue-blind)
#59A8B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8097eb;
/* rgb */ color: rgb(128, 151, 235);
/* oklch */ color: oklch(69.4% 0.127 271.2);
Tailwind
colors: {
  custom: {
    50: '#aab5f2',
    500: '#8097eb',
    950: '#000000',
  },
}
SCSS
$custom: #8097eb;
$custom-light: #aab5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8097eb",
  "rgb": {
    "r": 128,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 227.103,
    "s": 72.789,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69398,
    "c": 0.12651,
    "h": 271.2
  },
  "luminance": 0.32721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8097EB

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

Preview Lab → · Contrast checker → · Palette generator →

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