#6A6AE2#6A6AE2

#6A6AE2 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.7% C 0.178 H 279.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6A6AE2
RGBrgb(106, 106, 226)
HSLhsl(240, 67%, 65%)
HSVhsv(240, 53%, 89%)
CMYKcmyk(53.1%, 53.1%, 0%, 11.4%)
CIE-LABlab(50.52, 32.85, -61.36)
CIE-LCHlch(50.52, 69.60, 298.16°)
OKLaboklab(58.66% 0.0291 -0.1754)
OKLCHoklch(58.66% 0.178 279.4)
XYZxyz(24.8211, 18.8617, 74.2695)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6AE2 #E2E26A
analogous
#6AA6E2 #6A6AE2 #A66AE2
triadic
#6A6AE2 #E26A6A #6AE26A
tetradic
#6A6AE2 #E26AA6 #E2E26A #6AE2A6
square
#6A6AE2 #E26AA6 #E2E26A #6AE2A6
split-complementary
#6A6AE2 #E2A66A #A6E26A
monochromatic
#2222AF #3737D8 #6A6AE2 #9D9DEC #D0D0F6

Accessibility & contrast

On white

4.40
#6A6AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#6A6AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6AE2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6AE2#FFFFFF#000000##000000
##6A6AE21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#247DE6
Deuteranopia (green-blind)
#0C74DF
Tritanopia (blue-blind)
#34859C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6a6ae2;
/* rgb */ color: rgb(106, 106, 226);
/* oklch */ color: oklch(58.7% 0.178 279.4);
Tailwind
colors: {
  custom: {
    50: '#9d94ec',
    500: '#6a6ae2',
    950: '#000000',
  },
}
SCSS
$custom: #6a6ae2;
$custom-light: #9d94ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6ae2",
  "rgb": {
    "r": 106,
    "g": 106,
    "b": 226
  },
  "hsl": {
    "h": 240,
    "s": 67.416,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58657,
    "c": 0.1778,
    "h": 279.4
  },
  "luminance": 0.18863
}

Semantic roles & 50–950 ramp

primary
#6A6AE2
secondary
#E8E8C0
accent
#CF16CF
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #6A6AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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