#8097F8#8097F8

#8097F8 is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.1% C 0.144 H 272.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8097F8
RGBrgb(128, 151, 248)
HSLhsl(229, 90%, 74%)
HSVhsv(229, 48%, 97%)
CMYKcmyk(48.4%, 39.1%, 0%, 2.7%)
CIE-LABlab(64.56, 17.53, -51.07)
CIE-LCHlch(64.56, 53.99, 288.94°)
OKLaboklab(70.09% 0.0054 -0.1444)
OKLCHoklch(70.09% 0.145 272.1)
XYZxyz(36.9066, 33.4975, 93.3097)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8097F8 #F8E180
analogous
#80D3F8 #8097F8 #A580F8
triadic
#8097F8 #F88097 #97F880
tetradic
#8097F8 #F880D3 #F8E180 #80F8A5
square
#8097F8 #F880D3 #F8E180 #80F8A5
split-complementary
#8097F8 #F8A580 #D3F880
monochromatic
#0D39F0 #4667F5 #8097F8 #BAC6FB #E2E7FD

Accessibility & contrast

On white

2.73
#8097F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#8097F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8097F8
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8097F8#FFFFFF#000000##000000
##8097F81.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FC
Deuteranopia (green-blind)
#6698F6
Tritanopia (blue-blind)
#50ABBC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8097f8;
/* rgb */ color: rgb(128, 151, 248);
/* oklch */ color: oklch(70.1% 0.144 272.1);
Tailwind
colors: {
  custom: {
    50: '#abb5fb',
    500: '#8097f8',
    950: '#000000',
  },
}
SCSS
$custom: #8097f8;
$custom-light: #abb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8097f8",
  "rgb": {
    "r": 128,
    "g": 151,
    "b": 248
  },
  "hsl": {
    "h": 228.5,
    "s": 89.552,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70088,
    "c": 0.1445,
    "h": 272.1
  },
  "luminance": 0.335
}

Semantic roles & 50–950 ramp

primary
#8097F8
secondary
#F5EFD6
accent
#BA00E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8097F8

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

Preview Lab → · Contrast checker → · Palette generator →

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