#6766EA#6766EA

#6766EA is a mid, vivid blue. Relative luminance 0.183; OKLCH L 58.3% C 0.194 H 278.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6766EA
RGBrgb(103, 102, 234)
HSLhsl(240, 76%, 66%)
HSVhsv(240, 56%, 92%)
CMYKcmyk(56%, 56.4%, 0%, 8.2%)
CIE-LABlab(49.89, 37.17, -66.90)
CIE-LCHlch(49.89, 76.53, 299.06°)
OKLaboklab(58.3% 0.0299 -0.1918)
OKLCHoklch(58.3% 0.194 278.9)
XYZxyz(25.1915, 18.3251, 80.0356)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6766EA #E9EA66
analogous
#66A7EA #6766EA #A966EA
triadic
#6766EA #EA6766 #66EA67
tetradic
#6766EA #EA66A7 #E9EA66 #66EAA9
square
#6766EA #EA66A7 #E9EA66 #66EAA9
split-complementary
#6766EA #EAA966 #A7EA66
monochromatic
#1B1ABC #3230E3 #6766EA #9C9CF1 #D2D2F9

Accessibility & contrast

On white

4.50
#6766EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#6766EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6766EA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6766EA#FFFFFF#000000##000000
##6766EA1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#1E859E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6766ea;
/* rgb */ color: rgb(103, 102, 234);
/* oklch */ color: oklch(58.3% 0.194 278.9);
Tailwind
colors: {
  custom: {
    50: '#9d92f2',
    500: '#6766ea',
    950: '#000000',
  },
}
SCSS
$custom: #6766ea;
$custom-light: #9d92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6766ea",
  "rgb": {
    "r": 103,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 240.455,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58298,
    "c": 0.19413,
    "h": 278.9
  },
  "luminance": 0.18327
}

Semantic roles & 50–950 ramp

primary
#6766EA
secondary
#EBECC0
accent
#D80DD7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6766EA

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

Preview Lab → · Contrast checker → · Palette generator →

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