#786EB0#786EB0

#786EB0 is a mid, moderate blue. Relative luminance 0.183; OKLCH L 57.5% C 0.100 H 289.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#786EB0
RGBrgb(120, 110, 176)
HSLhsl(249, 29%, 56%)
HSVhsv(249, 38%, 69%)
CMYKcmyk(31.8%, 37.5%, 0%, 31%)
CIE-LABlab(49.83, 19.26, -33.77)
CIE-LCHlch(49.83, 38.88, 299.69°)
OKLaboklab(57.5% 0.034 -0.0943)
OKLCHoklch(57.5% 0.1 289.8)
XYZxyz(21.1561, 18.2791, 43.4794)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EB0 #A6B06E
analogous
#6E85B0 #786EB0 #996EB0
triadic
#786EB0 #B0786E #6EB078
tetradic
#786EB0 #B06E85 #A6B06E #6EB099
square
#786EB0 #B06E85 #A6B06E #6EB099
split-complementary
#786EB0 #B0996E #85B06E
monochromatic
#413A6A #594F92 #786EB0 #9D96C6 #C2BDDB

Accessibility & contrast

On white

4.51
#786EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#786EB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EB0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EB0#FFFFFF#000000##000000
##786EB01.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B78B3
Deuteranopia (green-blind)
#5B75AE
Tritanopia (blue-blind)
#6B7A87
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #786eb0;
/* rgb */ color: rgb(120, 110, 176);
/* oklch */ color: oklch(57.5% 0.100 289.8);
Tailwind
colors: {
  custom: {
    50: '#a197c8',
    500: '#786eb0',
    950: '#000000',
  },
}
SCSS
$custom: #786eb0;
$custom-light: #a197c8;
$custom-dark: #000000;
JSON
{
  "hex": "#786eb0",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 176
  },
  "hsl": {
    "h": 249.091,
    "s": 29.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57503,
    "c": 0.10029,
    "h": 289.8
  },
  "luminance": 0.1828
}

Semantic roles & 50–950 ramp

primary
#786EB0
secondary
#C6CBAF
accent
#C662B7
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #786EB0

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

Preview Lab → · Contrast checker → · Palette generator →

#786EB0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva