#8097FC#8097FC

#8097FC is a light, vivid blue. Relative luminance 0.338; OKLCH L 70.3% C 0.150 H 272.3°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8097FC
RGBrgb(128, 151, 252)
HSLhsl(229, 95%, 75%)
HSVhsv(229, 49%, 99%)
CMYKcmyk(49.2%, 40.1%, 0%, 1.2%)
CIE-LABlab(64.76, 18.72, -52.94)
CIE-LCHlch(64.76, 56.15, 289.47°)
OKLaboklab(70.31% 0.0061 -0.1499)
OKLCHoklch(70.31% 0.15 272.3)
XYZxyz(37.5338, 33.7483, 96.6129)
Luminance0.3375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8097FC #FCE580
analogous
#80D5FC #8097FC #A780FC
triadic
#8097FC #FC8097 #97FC80
tetradic
#8097FC #FC80D5 #FCE580 #80FCA7
square
#8097FC #FC80D5 #FCE580 #80FCA7
split-complementary
#8097FC #FCA780 #D5FC80
monochromatic
#0835F9 #4466FB #8097FC #BCC8FD #E1E7FE

Accessibility & contrast

On white

2.71
#8097FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#8097FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8097FC
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8097FC#FFFFFF#000000##000000
##8097FC1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#6398FA
Tritanopia (blue-blind)
#4CACBD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8097fc;
/* rgb */ color: rgb(128, 151, 252);
/* oklch */ color: oklch(70.3% 0.150 272.3);
Tailwind
colors: {
  custom: {
    50: '#abb5fe',
    500: '#8097fc',
    950: '#000000',
  },
}
SCSS
$custom: #8097fc;
$custom-light: #abb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8097fc",
  "rgb": {
    "r": 128,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 228.871,
    "s": 95.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70308,
    "c": 0.14998,
    "h": 272.3
  },
  "luminance": 0.33751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8097FC

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

Preview Lab → · Contrast checker → · Palette generator →

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