#6A6AED#6A6AED

#6A6AED is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.4% C 0.192 H 278.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6A6AED
RGBrgb(106, 106, 237)
HSLhsl(240, 78%, 67%)
HSVhsv(240, 55%, 93%)
CMYKcmyk(55.3%, 55.3%, 0%, 7.1%)
CIE-LABlab(51.25, 36.28, -66.37)
CIE-LCHlch(51.25, 75.63, 298.66°)
OKLaboklab(59.43% 0.0294 -0.1902)
OKLCHoklch(59.43% 0.192 278.8)
XYZxyz(26.3791, 19.4849, 82.4753)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6AED #EDED6A
analogous
#6AACED #6A6AED #AC6AED
triadic
#6A6AED #ED6A6A #6AED6A
tetradic
#6A6AED #ED6AAC #EDED6A #6AEDAC
square
#6A6AED #ED6AAC #EDED6A #6AEDAC
split-complementary
#6A6AED #EDAC6A #ACED6A
monochromatic
#1818C5 #3333E6 #6A6AED #A1A1F4 #D7D7FA

Accessibility & contrast

On white

4.29
#6A6AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#6A6AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6AED
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6AED#FFFFFF#000000##000000
##6A6AED1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#017FF1
Deuteranopia (green-blind)
#0075EA
Tritanopia (blue-blind)
#2588A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6a6aed;
/* rgb */ color: rgb(106, 106, 237);
/* oklch */ color: oklch(59.4% 0.192 278.8);
Tailwind
colors: {
  custom: {
    50: '#9f94f4',
    500: '#6a6aed',
    950: '#000000',
  },
}
SCSS
$custom: #6a6aed;
$custom-light: #9f94f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6aed",
  "rgb": {
    "r": 106,
    "g": 106,
    "b": 237
  },
  "hsl": {
    "h": 240,
    "s": 78.443,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59428,
    "c": 0.19242,
    "h": 278.8
  },
  "luminance": 0.19487
}

Semantic roles & 50–950 ramp

primary
#6A6AED
secondary
#EEEEC5
accent
#DB0BDB
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #6A6AED

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

Preview Lab → · Contrast checker → · Palette generator →

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