#8098F6#8098F6

#8098F6 is a light, vivid blue. Relative luminance 0.337; OKLCH L 70.2% C 0.141 H 271.5°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8098F6
RGBrgb(128, 152, 246)
HSLhsl(228, 87%, 73%)
HSVhsv(228, 48%, 96%)
CMYKcmyk(48%, 38.2%, 0%, 3.5%)
CIE-LABlab(64.72, 16.35, -49.72)
CIE-LCHlch(64.72, 52.34, 288.20°)
OKLaboklab(70.18% 0.0038 -0.1404)
OKLCHoklch(70.18% 0.141 271.5)
XYZxyz(36.7596, 33.6973, 91.7381)
Luminance0.3370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8098F6 #F6DE80
analogous
#80D3F6 #8098F6 #A380F6
triadic
#8098F6 #F68098 #98F680
tetradic
#8098F6 #F680D3 #F6DE80 #80F6A3
square
#8098F6 #F680D3 #F6DE80 #80F6A3
split-complementary
#8098F6 #F6A380 #D3F680
monochromatic
#113DEB #476AF2 #8098F6 #B9C6FA #E2E8FD

Accessibility & contrast

On white

2.71
#8098F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#8098F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8098F6
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8098F6#FFFFFF#000000##000000
##8098F61.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A2FA
Deuteranopia (green-blind)
#6898F4
Tritanopia (blue-blind)
#51ACBB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8098f6;
/* rgb */ color: rgb(128, 152, 246);
/* oklch */ color: oklch(70.2% 0.141 271.5);
Tailwind
colors: {
  custom: {
    50: '#abb6f9',
    500: '#8098f6',
    950: '#000000',
  },
}
SCSS
$custom: #8098f6;
$custom-light: #abb6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8098f6",
  "rgb": {
    "r": 128,
    "g": 152,
    "b": 246
  },
  "hsl": {
    "h": 227.797,
    "s": 86.765,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70179,
    "c": 0.1405,
    "h": 271.5
  },
  "luminance": 0.33699
}

Semantic roles & 50–950 ramp

primary
#8098F6
secondary
#F5EFD6
accent
#B602E3
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #8098F6

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

Preview Lab → · Contrast checker → · Palette generator →

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