#786EEF#786EEF

#786EEF is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.3% C 0.188 H 282.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#786EEF
RGBrgb(120, 110, 239)
HSLhsl(245, 80%, 68%)
HSVhsv(245, 54%, 94%)
CMYKcmyk(49.8%, 54%, 0%, 6.3%)
CIE-LABlab(53.36, 37.25, -64.03)
CIE-LCHlch(53.36, 74.08, 300.19°)
OKLaboklab(61.3% 0.0417 -0.1829)
OKLCHoklch(61.3% 0.188 282.9)
XYZxyz(28.8969, 21.3754, 84.2478)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EEF #E5EF6E
analogous
#6EA4EF #786EEF #B86EEF
triadic
#786EEF #EF786E #6EEF78
tetradic
#786EEF #EF6EA4 #E5EF6E #6EEFB8
square
#786EEF #EF6EA4 #E5EF6E #6EEFB8
split-complementary
#786EEF #EFB86E #A4EF6E
monochromatic
#2517CC #4537E9 #786EEF #ABA5F5 #DFDCFB

Accessibility & contrast

On white

3.98
#786EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#786EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EEF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EEF#FFFFFF#000000##000000
##786EEF1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2284F3
Deuteranopia (green-blind)
#137BEC
Tritanopia (blue-blind)
#4B8BA4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #786eef;
/* rgb */ color: rgb(120, 110, 239);
/* oklch */ color: oklch(61.3% 0.188 282.9);
Tailwind
colors: {
  custom: {
    50: '#a798f5',
    500: '#786eef',
    950: '#000000',
  },
}
SCSS
$custom: #786eef;
$custom-light: #a798f5;
$custom-dark: #000000;
JSON
{
  "hex": "#786eef",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 239
  },
  "hsl": {
    "h": 244.651,
    "s": 80.124,
    "l": 68.431
  },
  "oklch": {
    "l": 0.613,
    "c": 0.18757,
    "h": 282.9
  },
  "luminance": 0.21377
}

Semantic roles & 50–950 ramp

primary
#786EEF
secondary
#EDF0C9
accent
#DC09CC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #786EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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