#786DBB#786DBB

#786DBB is a mid, moderate blue. Relative luminance 0.185; OKLCH L 57.9% C 0.118 H 288.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#786DBB
RGBrgb(120, 109, 187)
HSLhsl(248, 36%, 58%)
HSVhsv(248, 42%, 73%)
CMYKcmyk(35.8%, 41.7%, 0%, 26.7%)
CIE-LABlab(50.12, 22.85, -39.69)
CIE-LCHlch(50.12, 45.80, 299.92°)
OKLaboklab(57.9% 0.0376 -0.1115)
OKLCHoklch(57.9% 0.118 288.6)
XYZxyz(22.1816, 18.5176, 49.4096)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786DBB #B0BB6D
analogous
#6D89BB #786DBB #9F6DBB
triadic
#786DBB #BB786D #6DBB78
tetradic
#786DBB #BB6D89 #B0BB6D #6DBB9F
square
#786DBB #BB6D89 #B0BB6D #6DBB9F
split-complementary
#786DBB #BB9F6D #89BB6D
monochromatic
#403776 #574BA0 #786DBB #9F97CE #C5C1E2

Accessibility & contrast

On white

4.46
#786DBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#786DBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786DBB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786DBB#FFFFFF#000000##000000
##786DBB1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5479BE
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#677C8B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #786dbb;
/* rgb */ color: rgb(120, 109, 187);
/* oklch */ color: oklch(57.9% 0.118 288.6);
Tailwind
colors: {
  custom: {
    50: '#a197d0',
    500: '#786dbb',
    950: '#000000',
  },
}
SCSS
$custom: #786dbb;
$custom-light: #a197d0;
$custom-dark: #000000;
JSON
{
  "hex": "#786dbb",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 187
  },
  "hsl": {
    "h": 248.462,
    "s": 36.449,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57897,
    "c": 0.11771,
    "h": 288.6
  },
  "luminance": 0.18518
}

Semantic roles & 50–950 ramp

primary
#786DBB
secondary
#CDD1B2
accent
#CC5BBD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #786DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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