#786BBD#786BBD

#786BBD is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.6% C 0.124 H 289.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#786BBD
RGBrgb(120, 107, 189)
HSLhsl(250, 38%, 58%)
HSVhsv(250, 43%, 74%)
CMYKcmyk(36.5%, 43.4%, 0%, 25.9%)
CIE-LABlab(49.72, 24.60, -41.48)
CIE-LCHlch(49.72, 48.23, 300.67°)
OKLaboklab(57.63% 0.0407 -0.1168)
OKLCHoklch(57.63% 0.124 289.2)
XYZxyz(22.1863, 18.1820, 50.4748)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786BBD #B0BD6B
analogous
#6B87BD #786BBD #A16BBD
triadic
#786BBD #BD786B #6BBD78
tetradic
#786BBD #BD6B87 #B0BD6B #6BBDA1
square
#786BBD #BD6B87 #B0BD6B #6BBDA1
split-complementary
#786BBD #BDA16B #87BD6B
monochromatic
#403678 #5748A2 #786BBD #9F95D0 #C5C0E3

Accessibility & contrast

On white

4.53
#786BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#786BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786BBD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786BBD#FFFFFF#000000##000000
##786BBD1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C0
Deuteranopia (green-blind)
#5074BB
Tritanopia (blue-blind)
#667B8B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #786bbd;
/* rgb */ color: rgb(120, 107, 189);
/* oklch */ color: oklch(57.6% 0.124 289.2);
Tailwind
colors: {
  custom: {
    50: '#a295d1',
    500: '#786bbd',
    950: '#000000',
  },
}
SCSS
$custom: #786bbd;
$custom-light: #a295d1;
$custom-dark: #000000;
JSON
{
  "hex": "#786bbd",
  "rgb": {
    "r": 120,
    "g": 107,
    "b": 189
  },
  "hsl": {
    "h": 249.512,
    "s": 38.318,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57626,
    "c": 0.12364,
    "h": 289.2
  },
  "luminance": 0.18183
}

Semantic roles & 50–950 ramp

primary
#786BBD
secondary
#CDD2B2
accent
#CE5ABC
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #786BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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