#6A66EC#6A66EC

#6A66EC is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.7% C 0.196 H 279.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6A66EC
RGBrgb(106, 102, 236)
HSLhsl(242, 78%, 66%)
HSVhsv(242, 57%, 93%)
CMYKcmyk(55.1%, 56.8%, 0%, 7.5%)
CIE-LABlab(50.24, 38.35, -67.44)
CIE-LCHlch(50.24, 77.58, 299.62°)
OKLaboklab(58.66% 0.0334 -0.1933)
OKLCHoklch(58.66% 0.196 279.8)
XYZxyz(25.8308, 18.6214, 81.5738)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A66EC #E8EC66
analogous
#66A5EC #6A66EC #AD66EC
triadic
#6A66EC #EC6A66 #66EC6A
tetradic
#6A66EC #EC66A5 #E8EC66 #66ECAD
square
#6A66EC #EC66A5 #E8EC66 #66ECAD
split-complementary
#6A66EC #ECAD66 #A5EC66
monochromatic
#1D18C0 #3530E5 #6A66EC #9F9CF3 #D4D3FA

Accessibility & contrast

On white

4.44
#6A66EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#6A66EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A66EC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A66EC#FFFFFF#000000##000000
##6A66EC1.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#28859F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6a66ec;
/* rgb */ color: rgb(106, 102, 236);
/* oklch */ color: oklch(58.7% 0.196 279.8);
Tailwind
colors: {
  custom: {
    50: '#9f92f3',
    500: '#6a66ec',
    950: '#000000',
  },
}
SCSS
$custom: #6a66ec;
$custom-light: #9f92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a66ec",
  "rgb": {
    "r": 106,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 241.791,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.58658,
    "c": 0.19619,
    "h": 279.8
  },
  "luminance": 0.18623
}

Semantic roles & 50–950 ramp

primary
#6A66EC
secondary
#EBEDC1
accent
#DA0BD4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D17
muted
#7F7D85

Preview Lab

Preview with #6A66EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6A66EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva