#6766EF#6766EF

#6766EF is a mid, highly saturated blue. Relative luminance 0.186; OKLCH L 58.7% C 0.201 H 278.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6766EF
RGBrgb(103, 102, 239)
HSLhsl(240, 81%, 67%)
HSVhsv(240, 57%, 94%)
CMYKcmyk(56.9%, 57.3%, 0%, 6.3%)
CIE-LABlab(50.24, 38.74, -69.14)
CIE-LCHlch(50.24, 79.25, 299.27°)
OKLaboklab(58.67% 0.0299 -0.1984)
OKLCHoklch(58.67% 0.201 278.6)
XYZxyz(25.9199, 18.6165, 83.8721)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6766EF #EEEF66
analogous
#66AAEF #6766EF #AC66EF
triadic
#6766EF #EF6766 #66EF67
tetradic
#6766EF #EF66AA #EEEF66 #66EFAC
square
#6766EF #EF66AA #EEEF66 #66EFAC
split-complementary
#6766EF #EFAC66 #AAEF66
monochromatic
#1615C6 #302FE9 #6766EF #9E9DF5 #D5D5FB

Accessibility & contrast

On white

4.45
#6766EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#6766EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6766EF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6766EF#FFFFFF#000000##000000
##6766EF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#1187A1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6766ef;
/* rgb */ color: rgb(103, 102, 239);
/* oklch */ color: oklch(58.7% 0.201 278.6);
Tailwind
colors: {
  custom: {
    50: '#9e92f5',
    500: '#6766ef',
    950: '#000000',
  },
}
SCSS
$custom: #6766ef;
$custom-light: #9e92f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6766ef",
  "rgb": {
    "r": 103,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 240.438,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.58665,
    "c": 0.20065,
    "h": 278.6
  },
  "luminance": 0.18618
}

Semantic roles & 50–950 ramp

primary
#6766EF
secondary
#EEEEC2
accent
#DD08DC
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6766EF

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

Preview Lab → · Contrast checker → · Palette generator →

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