#8098FB#8098FB

#8098FB is a light, vivid blue. Relative luminance 0.340; OKLCH L 70.5% C 0.147 H 271.9°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8098FB
RGBrgb(128, 152, 251)
HSLhsl(228, 94%, 74%)
HSVhsv(228, 49%, 98%)
CMYKcmyk(49%, 39.4%, 0%, 1.6%)
CIE-LABlab(64.97, 17.84, -52.07)
CIE-LCHlch(64.97, 55.04, 288.91°)
OKLaboklab(70.45% 0.0048 -0.1473)
OKLCHoklch(70.45% 0.147 271.9)
XYZxyz(37.5373, 34.0084, 95.8344)
Luminance0.3401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8098FB #FBE380
analogous
#80D5FB #8098FB #A680FB
triadic
#8098FB #FB8098 #98FB80
tetradic
#8098FB #FB80D5 #FBE380 #80FBA6
square
#8098FB #FB80D5 #FBE380 #80FBA6
split-complementary
#8098FB #FBA680 #D5FB80
monochromatic
#0938F7 #4568F9 #8098FB #BBC8FD #E1E7FE

Accessibility & contrast

On white

2.69
#8098FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#8098FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8098FB
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8098FB#FFFFFF#000000##000000
##8098FB1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FF
Deuteranopia (green-blind)
#6599F9
Tritanopia (blue-blind)
#4DADBD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8098fb;
/* rgb */ color: rgb(128, 152, 251);
/* oklch */ color: oklch(70.5% 0.147 271.9);
Tailwind
colors: {
  custom: {
    50: '#abb6fd',
    500: '#8098fb',
    950: '#000000',
  },
}
SCSS
$custom: #8098fb;
$custom-light: #abb6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8098fb",
  "rgb": {
    "r": 128,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 228.293,
    "s": 93.893,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7045,
    "c": 0.14738,
    "h": 271.9
  },
  "luminance": 0.34011
}

Semantic roles & 50–950 ramp

primary
#8098FB
secondary
#F6F0D5
accent
#B900E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8098FB

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

Preview Lab → · Contrast checker → · Palette generator →

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