#6668E7#6668E7

#6668E7 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.4% C 0.188 H 278.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#6668E7
RGBrgb(102, 104, 231)
HSLhsl(239, 73%, 65%)
HSVhsv(239, 56%, 91%)
CMYKcmyk(55.8%, 55%, 0%, 9.4%)
CIE-LABlab(50.09, 34.85, -64.89)
CIE-LCHlch(50.09, 73.65, 298.24°)
OKLaboklab(58.36% 0.0267 -0.1859)
OKLCHoklch(58.36% 0.188 278.2)
XYZxyz(24.8490, 18.4932, 77.8459)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6668E7 #E7E566
analogous
#66A8E7 #6668E7 #A566E7
triadic
#6668E7 #E76668 #68E766
tetradic
#6668E7 #E766A8 #E7E566 #66E7A5
square
#6668E7 #E766A8 #E7E566 #66E7A5
split-complementary
#6668E7 #E7A566 #A8E766
monochromatic
#1D1FB6 #3134DF #6668E7 #9B9CEF #D0D0F8

Accessibility & contrast

On white

4.47
#6668E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#6668E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6668E7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6668E7#FFFFFF#000000##000000
##6668E71.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#077DEB
Deuteranopia (green-blind)
#0072E4
Tritanopia (blue-blind)
#1E859D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6668e7;
/* rgb */ color: rgb(102, 104, 231);
/* oklch */ color: oklch(58.4% 0.188 278.2);
Tailwind
colors: {
  custom: {
    50: '#9c93ef',
    500: '#6668e7',
    950: '#000000',
  },
}
SCSS
$custom: #6668e7;
$custom-light: #9c93ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6668e7",
  "rgb": {
    "r": 102,
    "g": 104,
    "b": 231
  },
  "hsl": {
    "h": 239.07,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58364,
    "c": 0.18784,
    "h": 278.2
  },
  "luminance": 0.18495
}

Semantic roles & 50–950 ramp

primary
#6668E7
secondary
#EAE9BF
accent
#D211D5
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6668E7

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

Preview Lab → · Contrast checker → · Palette generator →

#6668E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva