#8097DC#8097DC

#8097DC is a light, moderate blue. Relative luminance 0.319; OKLCH L 68.6% C 0.106 H 269.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8097DC
RGBrgb(128, 151, 220)
HSLhsl(225, 57%, 68%)
HSVhsv(225, 42%, 86%)
CMYKcmyk(41.8%, 31.4%, 0%, 13.7%)
CIE-LABlab(63.25, 9.41, -37.70)
CIE-LCHlch(63.25, 38.86, 284.01°)
OKLaboklab(68.65% -0.0011 -0.1055)
OKLCHoklch(68.65% 0.106 269.4)
XYZxyz(32.8830, 31.8880, 72.1186)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8097DC #DCC580
analogous
#80C5DC #8097DC #9780DC
triadic
#8097DC #DC8097 #97DC80
tetradic
#8097DC #DC80C5 #DCC580 #80DC97
square
#8097DC #DC80C5 #DCC580 #80DC97
split-complementary
#8097DC #DC9780 #C5DC80
monochromatic
#3151B1 #5070CF #8097DC #B0BEE9 #E0E6F6

Accessibility & contrast

On white

2.85
#8097DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#8097DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8097DC
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8097DC#FFFFFF#000000##000000
##8097DC1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9DDF
Deuteranopia (green-blind)
#7695DA
Tritanopia (blue-blind)
#61A5B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8097dc;
/* rgb */ color: rgb(128, 151, 220);
/* oklch */ color: oklch(68.6% 0.106 269.4);
Tailwind
colors: {
  custom: {
    50: '#a8b5e7',
    500: '#8097dc',
    950: '#000000',
  },
}
SCSS
$custom: #8097dc;
$custom-light: #a8b5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8097dc",
  "rgb": {
    "r": 128,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 225,
    "s": 56.79,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68646,
    "c": 0.10554,
    "h": 269.4
  },
  "luminance": 0.3189
}

Semantic roles & 50–950 ramp

primary
#8097DC
secondary
#EAE3CE
accent
#9C21C4
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #8097DC

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

Preview Lab → · Contrast checker → · Palette generator →

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