#786FBC#786FBC

#786FBC is a mid, moderate blue. Relative luminance 0.190; OKLCH L 58.3% C 0.116 H 287.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#786FBC
RGBrgb(120, 111, 188)
HSLhsl(247, 36%, 59%)
HSVhsv(247, 41%, 74%)
CMYKcmyk(36.2%, 41%, 0%, 26.3%)
CIE-LABlab(50.68, 21.92, -39.39)
CIE-LCHlch(50.68, 45.08, 299.10°)
OKLaboklab(58.34% 0.0351 -0.1106)
OKLCHoklch(58.34% 0.116 287.6)
XYZxyz(22.5048, 18.9921, 50.0473)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FBC #B3BC6F
analogous
#6F8CBC #786FBC #9E6FBC
triadic
#786FBC #BC786F #6FBC78
tetradic
#786FBC #BC6F8C #B3BC6F #6FBC9E
square
#786FBC #BC6F8C #B3BC6F #6FBC9E
split-complementary
#786FBC #BC9E6F #8CBC6F
monochromatic
#403879 #564CA2 #786FBC #9F99CF #C6C3E3

Accessibility & contrast

On white

4.38
#786FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#786FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786FBC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786FBC#FFFFFF#000000##000000
##786FBC1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#567BBF
Deuteranopia (green-blind)
#5577BA
Tritanopia (blue-blind)
#667E8C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #786fbc;
/* rgb */ color: rgb(120, 111, 188);
/* oklch */ color: oklch(58.3% 0.116 287.6);
Tailwind
colors: {
  custom: {
    50: '#a198d0',
    500: '#786fbc',
    950: '#000000',
  },
}
SCSS
$custom: #786fbc;
$custom-light: #a198d0;
$custom-dark: #000000;
JSON
{
  "hex": "#786fbc",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 188
  },
  "hsl": {
    "h": 247.013,
    "s": 36.493,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5834,
    "c": 0.11607,
    "h": 287.6
  },
  "luminance": 0.18993
}

Semantic roles & 50–950 ramp

primary
#786FBC
secondary
#CFD3B4
accent
#CC5BBF
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #786FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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