#8098F5#8098F5

#8098F5 is a light, vivid blue. Relative luminance 0.336; OKLCH L 70.1% C 0.139 H 271.5°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8098F5
RGBrgb(128, 152, 245)
HSLhsl(228, 85%, 73%)
HSVhsv(228, 48%, 96%)
CMYKcmyk(47.8%, 38%, 0%, 3.9%)
CIE-LABlab(64.67, 16.06, -49.25)
CIE-LCHlch(64.67, 51.80, 288.06°)
OKLaboklab(70.13% 0.0036 -0.1391)
OKLCHoklch(70.13% 0.139 271.5)
XYZxyz(36.6065, 33.6360, 90.9320)
Luminance0.3364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8098F5 #F5DD80
analogous
#80D3F5 #8098F5 #A280F5
triadic
#8098F5 #F58098 #98F580
tetradic
#8098F5 #F580D3 #F5DD80 #80F5A2
square
#8098F5 #F580D3 #F5DD80 #80F5A2
split-complementary
#8098F5 #F5A280 #D3F580
monochromatic
#123EE8 #476AF1 #8098F5 #B9C6F9 #E3E8FD

Accessibility & contrast

On white

2.72
#8098F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#8098F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8098F5
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8098F5#FFFFFF#000000##000000
##8098F51.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A2F9
Deuteranopia (green-blind)
#6998F3
Tritanopia (blue-blind)
#52ACBB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8098f5;
/* rgb */ color: rgb(128, 152, 245);
/* oklch */ color: oklch(70.1% 0.139 271.5);
Tailwind
colors: {
  custom: {
    50: '#abb6f9',
    500: '#8098f5',
    950: '#000000',
  },
}
SCSS
$custom: #8098f5;
$custom-light: #abb6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8098f5",
  "rgb": {
    "r": 128,
    "g": 152,
    "b": 245
  },
  "hsl": {
    "h": 227.692,
    "s": 85.401,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70125,
    "c": 0.13913,
    "h": 271.5
  },
  "luminance": 0.33638
}

Semantic roles & 50–950 ramp

primary
#8098F5
secondary
#F5EED6
accent
#B404E2
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #8098F5

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

Preview Lab → · Contrast checker → · Palette generator →

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