#6766DC#6766DC

#6766DC is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.3% C 0.176 H 279.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6766DC
RGBrgb(103, 102, 220)
HSLhsl(241, 63%, 63%)
HSVhsv(241, 54%, 86%)
CMYKcmyk(53.2%, 53.6%, 0%, 13.7%)
CIE-LABlab(48.95, 32.79, -60.52)
CIE-LCHlch(48.95, 68.83, 298.45°)
OKLaboklab(57.3% 0.0296 -0.173)
OKLCHoklch(57.3% 0.176 279.7)
XYZxyz(23.2591, 17.5522, 69.8586)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6766DC #DBDC66
analogous
#66A0DC #6766DC #A266DC
triadic
#6766DC #DC6766 #66DC67
tetradic
#6766DC #DC66A0 #DBDC66 #66DCA2
square
#6766DC #DC66A0 #DBDC66 #66DCA2
split-complementary
#6766DC #DCA266 #A0DC66
monochromatic
#2625A2 #3634D1 #6766DC #9898E7 #CACAF3

Accessibility & contrast

On white

4.66
#6766DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#6766DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6766DC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6766DC#FFFFFF#000000##FFFFFF
##6766DC1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F79E0
Deuteranopia (green-blind)
#0370DA
Tritanopia (blue-blind)
#328197
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6766dc;
/* rgb */ color: rgb(103, 102, 220);
/* oklch */ color: oklch(57.3% 0.176 279.7);
Tailwind
colors: {
  custom: {
    50: '#9b91e8',
    500: '#6766dc',
    950: '#000000',
  },
}
SCSS
$custom: #6766dc;
$custom-light: #9b91e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6766dc",
  "rgb": {
    "r": 103,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 240.508,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.573,
    "c": 0.17555,
    "h": 279.7
  },
  "luminance": 0.17554
}

Semantic roles & 50–950 ramp

primary
#6766DC
secondary
#E4E4BA
accent
#CB1BC9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0D16
muted
#7F7D84

Preview Lab

Preview with #6766DC

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

Preview Lab → · Contrast checker → · Palette generator →

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