#8077CB#8077CB

#8077CB is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.4% C 0.125 H 287.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8077CB
RGBrgb(128, 119, 203)
HSLhsl(246, 45%, 63%)
HSVhsv(246, 41%, 80%)
CMYKcmyk(36.9%, 41.4%, 0%, 20.4%)
CIE-LABlab(54.13, 23.45, -42.48)
CIE-LCHlch(54.13, 48.52, 298.90°)
OKLaboklab(61.37% 0.0366 -0.1195)
OKLCHoklch(61.37% 0.125 287)
XYZxyz(26.2754, 22.0938, 59.3685)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8077CB #C2CB77
analogous
#7798CB #8077CB #AA77CB
triadic
#8077CB #CB8077 #77CB80
tetradic
#8077CB #CB7798 #C2CB77 #77CBAA
square
#8077CB #CB7798 #C2CB77 #77CBAA
split-complementary
#8077CB #CBAA77 #98CB77
monochromatic
#413790 #574BBA #8077CB #A9A3DC #D3D0ED

Accessibility & contrast

On white

3.88
#8077CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8077CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8077CB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8077CB#FFFFFF#000000##000000
##8077CB1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84CE
Deuteranopia (green-blind)
#5A7FC9
Tritanopia (blue-blind)
#6C8797
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8077cb;
/* rgb */ color: rgb(128, 119, 203);
/* oklch */ color: oklch(61.4% 0.125 287.0);
Tailwind
colors: {
  custom: {
    50: '#a89edb',
    500: '#8077cb',
    950: '#000000',
  },
}
SCSS
$custom: #8077cb;
$custom-light: #a89edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8077cb",
  "rgb": {
    "r": 128,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 246.429,
    "s": 44.681,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61373,
    "c": 0.12494,
    "h": 287
  },
  "luminance": 0.22095
}

Semantic roles & 50–950 ramp

primary
#8077CB
secondary
#DBDEC0
accent
#B82EA9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8077CB

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

Preview Lab → · Contrast checker → · Palette generator →

#8077CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva