#8078BB#8078BB

#8078BB is a mid, moderate blue. Relative luminance 0.216; OKLCH L 60.7% C 0.101 H 288.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8078BB
RGBrgb(128, 120, 187)
HSLhsl(247, 33%, 60%)
HSVhsv(247, 36%, 73%)
CMYKcmyk(31.6%, 35.8%, 0%, 26.7%)
CIE-LABlab(53.61, 18.54, -34.16)
CIE-LCHlch(53.61, 38.86, 298.49°)
OKLaboklab(60.73% 0.0319 -0.0953)
OKLCHoklch(60.73% 0.101 288.5)
XYZxyz(24.5859, 21.6094, 49.8798)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8078BB #B3BB78
analogous
#7891BB #8078BB #A178BB
triadic
#8078BB #BB8078 #78BB80
tetradic
#8078BB #BB7891 #B3BB78 #78BBA1
square
#8078BB #BB7891 #B3BB78 #78BBA1
split-complementary
#8078BB #BBA178 #91BB78
monochromatic
#453E7B #5C52A3 #8078BB #A6A1D0 #CDC9E4

Accessibility & contrast

On white

3.95
#8078BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8078BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8078BB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8078BB#FFFFFF#000000##000000
##8078BB1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6482BE
Deuteranopia (green-blind)
#647EB9
Tritanopia (blue-blind)
#728491
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8078bb;
/* rgb */ color: rgb(128, 120, 187);
/* oklch */ color: oklch(60.7% 0.101 288.5);
Tailwind
colors: {
  custom: {
    50: '#a69fcf',
    500: '#8078bb',
    950: '#000000',
  },
}
SCSS
$custom: #8078bb;
$custom-light: #a69fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8078bb",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 247.164,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60726,
    "c": 0.1005,
    "h": 288.5
  },
  "luminance": 0.2161
}

Semantic roles & 50–950 ramp

primary
#8078BB
secondary
#D1D4BB
accent
#AC3A9E
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #8078BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8078BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva