#6A66EB#6A66EB

#6A66EB is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.6% C 0.195 H 279.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6A66EB
RGBrgb(106, 102, 235)
HSLhsl(242, 77%, 66%)
HSVhsv(242, 57%, 92%)
CMYKcmyk(54.9%, 56.6%, 0%, 7.8%)
CIE-LABlab(50.17, 38.04, -66.99)
CIE-LCHlch(50.17, 77.03, 299.59°)
OKLaboklab(58.59% 0.0334 -0.192)
OKLCHoklch(58.59% 0.195 279.9)
XYZxyz(25.6859, 18.5634, 80.8107)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A66EB #E7EB66
analogous
#66A4EB #6A66EB #AD66EB
triadic
#6A66EB #EB6A66 #66EB6A
tetradic
#6A66EB #EB66A4 #E7EB66 #66EBAD
square
#6A66EB #EB66A4 #E7EB66 #66EBAD
split-complementary
#6A66EB #EBAD66 #A4EB66
monochromatic
#1E19BE #3530E4 #6A66EB #9F9CF2 #D3D2F9

Accessibility & contrast

On white

4.46
#6A66EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#6A66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A66EB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A66EB#FFFFFF#000000##000000
##6A66EB1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#29859F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6a66eb;
/* rgb */ color: rgb(106, 102, 235);
/* oklch */ color: oklch(58.6% 0.195 279.9);
Tailwind
colors: {
  custom: {
    50: '#9f92f2',
    500: '#6a66eb',
    950: '#000000',
  },
}
SCSS
$custom: #6a66eb;
$custom-light: #9f92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a66eb",
  "rgb": {
    "r": 106,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 241.805,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58585,
    "c": 0.19489,
    "h": 279.9
  },
  "luminance": 0.18565
}

Semantic roles & 50–950 ramp

primary
#6A66EB
secondary
#EBECC1
accent
#D90CD3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D17
muted
#7F7D85

Preview Lab

Preview with #6A66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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