#6766E2#6766E2

#6766E2 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.7% C 0.184 H 279.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6766E2
RGBrgb(103, 102, 226)
HSLhsl(240, 68%, 64%)
HSVhsv(240, 55%, 89%)
CMYKcmyk(54.4%, 54.9%, 0%, 11.4%)
CIE-LABlab(49.34, 34.67, -63.27)
CIE-LCHlch(49.34, 72.15, 298.72°)
OKLaboklab(57.72% 0.0298 -0.1812)
OKLCHoklch(57.72% 0.184 279.3)
XYZxyz(24.0681, 17.8757, 74.1189)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6766E2 #E1E266
analogous
#66A3E2 #6766E2 #A566E2
triadic
#6766E2 #E26766 #66E267
tetradic
#6766E2 #E266A3 #E1E266 #66E2A5
square
#6766E2 #E266A3 #E1E266 #66E2A5
split-complementary
#6766E2 #E2A566 #A3E266
monochromatic
#2221AD #3433D8 #6766E2 #9A99EC #CDCDF6

Accessibility & contrast

On white

4.59
#6766E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#6766E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6766E2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6766E2#FFFFFF#000000##FFFFFF
##6766E21.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F7AE6
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#2B839A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6766e2;
/* rgb */ color: rgb(103, 102, 226);
/* oklch */ color: oklch(57.7% 0.184 279.3);
Tailwind
colors: {
  custom: {
    50: '#9c91ec',
    500: '#6766e2',
    950: '#000000',
  },
}
SCSS
$custom: #6766e2;
$custom-light: #9c91ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6766e2",
  "rgb": {
    "r": 103,
    "g": 102,
    "b": 226
  },
  "hsl": {
    "h": 240.484,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57722,
    "c": 0.18359,
    "h": 279.3
  },
  "luminance": 0.17877
}

Semantic roles & 50–950 ramp

primary
#6766E2
secondary
#E7E7BC
accent
#D015CF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0D16
muted
#7F7D84

Preview Lab

Preview with #6766E2

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

Preview Lab → · Contrast checker → · Palette generator →

#6766E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva