#786EB3#786EB3

#786EB3 is a mid, moderate blue. Relative luminance 0.184; OKLCH L 57.7% C 0.105 H 289.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#786EB3
RGBrgb(120, 110, 179)
HSLhsl(249, 31%, 57%)
HSVhsv(249, 39%, 70%)
CMYKcmyk(33%, 38.5%, 0%, 29.8%)
CIE-LABlab(49.98, 20.06, -35.29)
CIE-LCHlch(49.98, 40.59, 299.62°)
OKLaboklab(57.66% 0.0347 -0.0987)
OKLCHoklch(57.66% 0.105 289.3)
XYZxyz(21.4562, 18.3991, 45.0600)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EB3 #A9B36E
analogous
#6E87B3 #786EB3 #9B6EB3
triadic
#786EB3 #B3786E #6EB378
tetradic
#786EB3 #B36E87 #A9B36E #6EB39B
square
#786EB3 #B36E87 #A9B36E #6EB39B
split-complementary
#786EB3 #B39B6E #87B36E
monochromatic
#41396D #594E95 #786EB3 #9D96C8 #C3BEDD

Accessibility & contrast

On white

4.49
#786EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#786EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EB3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EB3#FFFFFF#000000##000000
##786EB31.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5978B6
Deuteranopia (green-blind)
#5975B1
Tritanopia (blue-blind)
#6A7B88
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #786eb3;
/* rgb */ color: rgb(120, 110, 179);
/* oklch */ color: oklch(57.7% 0.105 289.3);
Tailwind
colors: {
  custom: {
    50: '#a197ca',
    500: '#786eb3',
    950: '#000000',
  },
}
SCSS
$custom: #786eb3;
$custom-light: #a197ca;
$custom-dark: #000000;
JSON
{
  "hex": "#786eb3",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 179
  },
  "hsl": {
    "h": 248.696,
    "s": 31.222,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5766,
    "c": 0.10464,
    "h": 289.3
  },
  "luminance": 0.184
}

Semantic roles & 50–950 ramp

primary
#786EB3
secondary
#C8CDB0
accent
#C760B8
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #786EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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