#6A66CA#6A66CA

#6A66CA is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.3% C 0.150 H 282.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6A66CA
RGBrgb(106, 102, 202)
HSLhsl(242, 49%, 60%)
HSVhsv(242, 50%, 79%)
CMYKcmyk(47.5%, 49.5%, 0%, 20.8%)
CIE-LABlab(48.05, 27.90, -51.69)
CIE-LCHlch(48.05, 58.74, 298.35°)
OKLaboklab(56.32% 0.0319 -0.147)
OKLCHoklch(56.32% 0.15 282.2)
XYZxyz(21.3527, 16.8301, 57.9891)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A66CA #C6CA66
analogous
#6694CA #6A66CA #9C66CA
triadic
#6A66CA #CA6A66 #66CA6A
tetradic
#6A66CA #CA6694 #C6CA66 #66CA9C
square
#6A66CA #CA6694 #C6CA66 #66CA9C
split-complementary
#6A66CA #CA9C66 #94CA66
monochromatic
#322F87 #433EB4 #6A66CA #9693DA #C3C1E9

Accessibility & contrast

On white

4.81
#6A66CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#6A66CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A66CA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A66CA#FFFFFF#000000##FFFFFF
##6A66CA1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3976CE
Deuteranopia (green-blind)
#336FC8
Tritanopia (blue-blind)
#487B8E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a66ca;
/* rgb */ color: rgb(106, 102, 202);
/* oklch */ color: oklch(56.3% 0.150 282.2);
Tailwind
colors: {
  custom: {
    50: '#9a91db',
    500: '#6a66ca',
    950: '#000000',
  },
}
SCSS
$custom: #6a66ca;
$custom-light: #9a91db;
$custom-dark: #000000;
JSON
{
  "hex": "#6a66ca",
  "rgb": {
    "r": 106,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 242.4,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56318,
    "c": 0.15044,
    "h": 282.2
  },
  "luminance": 0.16831
}

Semantic roles & 50–950 ramp

primary
#6A66CA
secondary
#D8D9B2
accent
#D850D3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6A66CA

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

Preview Lab → · Contrast checker → · Palette generator →

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