#8098FC#8098FC

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

Color values

HEX#8098FC
RGBrgb(128, 152, 252)
HSLhsl(228, 95%, 75%)
HSVhsv(228, 49%, 99%)
CMYKcmyk(49.2%, 39.7%, 0%, 1.2%)
CIE-LABlab(65.02, 18.13, -52.53)
CIE-LCHlch(65.02, 55.58, 289.04°)
OKLaboklab(70.51% 0.005 -0.1487)
OKLCHoklch(70.51% 0.149 271.9)
XYZxyz(37.6954, 34.0716, 96.6667)
Luminance0.3407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8098FC #FCE480
analogous
#80D6FC #8098FC #A680FC
triadic
#8098FC #FC8098 #98FC80
tetradic
#8098FC #FC80D6 #FCE480 #80FCA6
square
#8098FC #FC80D6 #FCE480 #80FCA6
split-complementary
#8098FC #FCA680 #D6FC80
monochromatic
#0837F9 #4468FB #8098FC #BCC8FD #E1E7FE

Accessibility & contrast

On white

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

On black

7.81
#8098FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8098FC
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8098FC#FFFFFF#000000##000000
##8098FC1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FF
Deuteranopia (green-blind)
#6499FA
Tritanopia (blue-blind)
#4CADBE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8098fc;
/* rgb */ color: rgb(128, 152, 252);
/* oklch */ color: oklch(70.5% 0.149 271.9);
Tailwind
colors: {
  custom: {
    50: '#abb6fe',
    500: '#8098fc',
    950: '#000000',
  },
}
SCSS
$custom: #8098fc;
$custom-light: #abb6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8098fc",
  "rgb": {
    "r": 128,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 228.387,
    "s": 95.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70505,
    "c": 0.14874,
    "h": 271.9
  },
  "luminance": 0.34074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8098FC

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

Preview Lab → · Contrast checker → · Palette generator →

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