#8078BC#8078BC

#8078BC is a mid, moderate blue. Relative luminance 0.217; OKLCH L 60.8% C 0.102 H 288.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8078BC
RGBrgb(128, 120, 188)
HSLhsl(247, 34%, 60%)
HSVhsv(247, 36%, 74%)
CMYKcmyk(31.9%, 36.2%, 0%, 26.3%)
CIE-LABlab(53.66, 18.80, -34.66)
CIE-LCHlch(53.66, 39.43, 298.48°)
OKLaboklab(60.78% 0.0321 -0.0968)
OKLCHoklch(60.78% 0.102 288.4)
XYZxyz(24.6933, 21.6524, 50.4455)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8078BC #B4BC78
analogous
#7892BC #8078BC #A278BC
triadic
#8078BC #BC8078 #78BC80
tetradic
#8078BC #BC7892 #B4BC78 #78BCA2
square
#8078BC #BC7892 #B4BC78 #78BCA2
split-complementary
#8078BC #BCA278 #92BC78
monochromatic
#453E7C #5C52A5 #8078BC #A6A1D0 #CDCAE5

Accessibility & contrast

On white

3.94
#8078BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8078BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8078BC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8078BC#FFFFFF#000000##000000
##8078BC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8078bc;
/* rgb */ color: rgb(128, 120, 188);
/* oklch */ color: oklch(60.8% 0.102 288.4);
Tailwind
colors: {
  custom: {
    50: '#a79fd0',
    500: '#8078bc',
    950: '#000000',
  },
}
SCSS
$custom: #8078bc;
$custom-light: #a79fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8078bc",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 247.059,
    "s": 33.663,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60777,
    "c": 0.10196,
    "h": 288.4
  },
  "luminance": 0.21653
}

Semantic roles & 50–950 ramp

primary
#8078BC
secondary
#D2D5BB
accent
#AC399F
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #8078BC

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

Preview Lab → · Contrast checker → · Palette generator →

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