#786EBB#786EBB

#786EBB is a mid, moderate blue. Relative luminance 0.187; OKLCH L 58.1% C 0.116 H 288.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#786EBB
RGBrgb(120, 110, 187)
HSLhsl(248, 36%, 58%)
HSVhsv(248, 41%, 73%)
CMYKcmyk(35.8%, 41.2%, 0%, 26.7%)
CIE-LABlab(50.37, 22.25, -39.29)
CIE-LCHlch(50.37, 45.15, 299.52°)
OKLaboklab(58.09% 0.0363 -0.1104)
OKLCHoklch(58.09% 0.116 288.2)
XYZxyz(22.2889, 18.7322, 49.4454)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EBB #B1BB6E
analogous
#6E8ABB #786EBB #9E6EBB
triadic
#786EBB #BB786E #6EBB78
tetradic
#786EBB #BB6E8A #B1BB6E #6EBB9E
square
#786EBB #BB6E8A #B1BB6E #6EBB9E
split-complementary
#786EBB #BB9E6E #8ABB6E
monochromatic
#403877 #564BA1 #786EBB #9F98CF #C6C1E2

Accessibility & contrast

On white

4.42
#786EBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#786EBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EBB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EBB#FFFFFF#000000##000000
##786EBB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#557ABE
Deuteranopia (green-blind)
#5576B9
Tritanopia (blue-blind)
#677D8B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #786ebb;
/* rgb */ color: rgb(120, 110, 187);
/* oklch */ color: oklch(58.1% 0.116 288.2);
Tailwind
colors: {
  custom: {
    50: '#a197d0',
    500: '#786ebb',
    950: '#000000',
  },
}
SCSS
$custom: #786ebb;
$custom-light: #a197d0;
$custom-dark: #000000;
JSON
{
  "hex": "#786ebb",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 187
  },
  "hsl": {
    "h": 247.792,
    "s": 36.15,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58091,
    "c": 0.11617,
    "h": 288.2
  },
  "luminance": 0.18733
}

Semantic roles & 50–950 ramp

primary
#786EBB
secondary
#CED2B3
accent
#CC5CBE
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #786EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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