#8098FA#8098FA

#8098FA is a light, vivid blue. Relative luminance 0.339; OKLCH L 70.4% C 0.146 H 271.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8098FA
RGBrgb(128, 152, 250)
HSLhsl(228, 92%, 74%)
HSVhsv(228, 49%, 98%)
CMYKcmyk(48.8%, 39.2%, 0%, 2%)
CIE-LABlab(64.92, 17.54, -51.60)
CIE-LCHlch(64.92, 54.50, 288.77°)
OKLaboklab(70.4% 0.0046 -0.1459)
OKLCHoklch(70.4% 0.146 271.8)
XYZxyz(37.3801, 33.9455, 95.0064)
Luminance0.3395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8098FA #FAE280
analogous
#80D5FA #8098FA #A580FA
triadic
#8098FA #FA8098 #98FA80
tetradic
#8098FA #FA80D5 #FAE280 #80FAA5
square
#8098FA #FA80D5 #FAE280 #80FAA5
split-complementary
#8098FA #FAA580 #D5FA80
monochromatic
#0A38F5 #4568F8 #8098FA #BBC8FC #E2E7FE

Accessibility & contrast

On white

2.70
#8098FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#8098FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8098FA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8098FA#FFFFFF#000000##000000
##8098FA1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FE
Deuteranopia (green-blind)
#6699F8
Tritanopia (blue-blind)
#4EADBD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8098fa;
/* rgb */ color: rgb(128, 152, 250);
/* oklch */ color: oklch(70.4% 0.146 271.8);
Tailwind
colors: {
  custom: {
    50: '#abb6fc',
    500: '#8098fa',
    950: '#000000',
  },
}
SCSS
$custom: #8098fa;
$custom-light: #abb6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8098fa",
  "rgb": {
    "r": 128,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 228.197,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70395,
    "c": 0.146,
    "h": 271.8
  },
  "luminance": 0.33948
}

Semantic roles & 50–950 ramp

primary
#8098FA
secondary
#F6F0D5
accent
#B800E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8098FA

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

Preview Lab → · Contrast checker → · Palette generator →

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