#786EBF#786EBF

#786EBF is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.3% C 0.122 H 287.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#786EBF
RGBrgb(120, 110, 191)
HSLhsl(247, 39%, 59%)
HSVhsv(247, 42%, 75%)
CMYKcmyk(37.2%, 42.4%, 0%, 25.1%)
CIE-LABlab(50.58, 23.35, -41.27)
CIE-LCHlch(50.58, 47.42, 299.50°)
OKLaboklab(58.31% 0.037 -0.1161)
OKLCHoklch(58.31% 0.122 287.7)
XYZxyz(22.7231, 18.9058, 51.7321)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EBF #B5BF6E
analogous
#6E8DBF #786EBF #A16EBF
triadic
#786EBF #BF786E #6EBF78
tetradic
#786EBF #BF6E8D #B5BF6E #6EBFA1
square
#786EBF #BF6E8D #B5BF6E #6EBFA1
split-complementary
#786EBF #BFA16E #8DBF6E
monochromatic
#3F377C #5549A6 #786EBF #A098D2 #C7C3E4

Accessibility & contrast

On white

4.39
#786EBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#786EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EBF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EBF#FFFFFF#000000##000000
##786EBF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC2
Deuteranopia (green-blind)
#5276BD
Tritanopia (blue-blind)
#657E8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #786ebf;
/* rgb */ color: rgb(120, 110, 191);
/* oklch */ color: oklch(58.3% 0.122 287.7);
Tailwind
colors: {
  custom: {
    50: '#a297d3',
    500: '#786ebf',
    950: '#000000',
  },
}
SCSS
$custom: #786ebf;
$custom-light: #a297d3;
$custom-dark: #000000;
JSON
{
  "hex": "#786ebf",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 191
  },
  "hsl": {
    "h": 247.407,
    "s": 38.756,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58313,
    "c": 0.12188,
    "h": 287.7
  },
  "luminance": 0.18907
}

Semantic roles & 50–950 ramp

primary
#786EBF
secondary
#D0D4B5
accent
#CF59C0
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #786EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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