#8098EA#8098EA

#8098EA is a light, vivid blue. Relative luminance 0.330; OKLCH L 69.5% C 0.124 H 270.5°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8098EA
RGBrgb(128, 152, 234)
HSLhsl(226, 72%, 71%)
HSVhsv(226, 45%, 92%)
CMYKcmyk(45.3%, 35%, 0%, 8.2%)
CIE-LABlab(64.15, 12.84, -44.03)
CIE-LCHlch(64.15, 45.87, 286.25°)
OKLaboklab(69.55% 0.0012 -0.1239)
OKLCHoklch(69.55% 0.124 270.5)
XYZxyz(34.9769, 32.9842, 82.3495)
Luminance0.3299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8098EA #EAD280
analogous
#80CDEA #8098EA #9D80EA
triadic
#8098EA #EA8098 #98EA80
tetradic
#8098EA #EA80CD #EAD280 #80EA9D
square
#8098EA #EA80CD #EAD280 #80EA9D
split-complementary
#8098EA #EA9D80 #CDEA80
monochromatic
#2249CE #4B6DE1 #8098EA #B5C3F3 #E5EAFB

Accessibility & contrast

On white

2.76
#8098EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#8098EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8098EA
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8098EA#FFFFFF#000000##000000
##8098EA1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA0ED
Deuteranopia (green-blind)
#7097E8
Tritanopia (blue-blind)
#59A9B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8098ea;
/* rgb */ color: rgb(128, 152, 234);
/* oklch */ color: oklch(69.5% 0.124 270.5);
Tailwind
colors: {
  custom: {
    50: '#a9b6f1',
    500: '#8098ea',
    950: '#000000',
  },
}
SCSS
$custom: #8098ea;
$custom-light: #a9b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8098ea",
  "rgb": {
    "r": 128,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 226.415,
    "s": 71.622,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69549,
    "c": 0.12389,
    "h": 270.5
  },
  "luminance": 0.32986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8098EA

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

Preview Lab → · Contrast checker → · Palette generator →

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