#6766EC#6766EC

#6766EC is a mid, vivid blue. Relative luminance 0.184; OKLCH L 58.4% C 0.197 H 278.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#6766EC
RGBrgb(103, 102, 236)
HSLhsl(240, 78%, 66%)
HSVhsv(240, 57%, 93%)
CMYKcmyk(56.4%, 56.8%, 0%, 7.5%)
CIE-LABlab(50.03, 37.80, -67.80)
CIE-LCHlch(50.03, 77.62, 299.14°)
OKLaboklab(58.44% 0.0299 -0.1945)
OKLCHoklch(58.44% 0.197 278.7)
XYZxyz(25.4804, 18.4407, 81.5573)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6766EC #EBEC66
analogous
#66A8EC #6766EC #AA66EC
triadic
#6766EC #EC6766 #66EC67
tetradic
#6766EC #EC66A8 #EBEC66 #66ECAA
square
#6766EC #EC66A8 #EBEC66 #66ECAA
split-complementary
#6766EC #ECAA66 #A8EC66
monochromatic
#1918C0 #3130E5 #6766EC #9D9CF3 #D3D3FA

Accessibility & contrast

On white

4.48
#6766EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#6766EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6766EC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6766EC#FFFFFF#000000##000000
##6766EC1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#1A869F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6766ec;
/* rgb */ color: rgb(103, 102, 236);
/* oklch */ color: oklch(58.4% 0.197 278.7);
Tailwind
colors: {
  custom: {
    50: '#9d92f3',
    500: '#6766ec',
    950: '#000000',
  },
}
SCSS
$custom: #6766ec;
$custom-light: #9d92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6766ec",
  "rgb": {
    "r": 103,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 240.448,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.58444,
    "c": 0.19675,
    "h": 278.7
  },
  "luminance": 0.18442
}

Semantic roles & 50–950 ramp

primary
#6766EC
secondary
#ECEDC1
accent
#DA0BD9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6766EC

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

Preview Lab → · Contrast checker → · Palette generator →

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