#8198FD#8198FD

#8198FD is a light, vivid blue. Relative luminance 0.342; OKLCH L 70.6% C 0.150 H 272.4°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8198FD
RGBrgb(129, 152, 253)
HSLhsl(229, 97%, 75%)
HSVhsv(229, 49%, 99%)
CMYKcmyk(49%, 39.9%, 0%, 0.8%)
CIE-LABlab(65.13, 18.66, -52.90)
CIE-LCHlch(65.13, 56.09, 289.43°)
OKLaboklab(70.62% 0.0062 -0.1497)
OKLCHoklch(70.62% 0.15 272.4)
XYZxyz(38.0055, 34.2131, 97.5106)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8198FD #FDE681
analogous
#81D6FD #8198FD #A881FD
triadic
#8198FD #FD8198 #98FD81
tetradic
#8198FD #FD81D6 #FDE681 #81FDA8
square
#8198FD #FD81D6 #FDE681 #81FDA8
split-complementary
#8198FD #FDA881 #D6FD81
monochromatic
#0936FB #4567FC #8198FD #BDC9FE #E1E6FF

Accessibility & contrast

On white

2.68
#8198FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#8198FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8198FD
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8198FD#FFFFFF#000000##000000
##8198FD1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#6499FB
Tritanopia (blue-blind)
#4EADBE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8198fd;
/* rgb */ color: rgb(129, 152, 253);
/* oklch */ color: oklch(70.6% 0.150 272.4);
Tailwind
colors: {
  custom: {
    50: '#acb6fe',
    500: '#8198fd',
    950: '#000000',
  },
}
SCSS
$custom: #8198fd;
$custom-light: #acb6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8198fd",
  "rgb": {
    "r": 129,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 228.871,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70623,
    "c": 0.14984,
    "h": 272.4
  },
  "luminance": 0.34215
}

Semantic roles & 50–950 ramp

primary
#8198FD
secondary
#F7F0D4
accent
#BB00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8198FD

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

Preview Lab → · Contrast checker → · Palette generator →

#8198FD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva