#6A6DEC#6A6DEC

#6A6DEC is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.9% C 0.187 H 278.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6A6DEC
RGBrgb(106, 109, 236)
HSLhsl(239, 77%, 67%)
HSVhsv(239, 55%, 93%)
CMYKcmyk(55.1%, 53.8%, 0%, 7.5%)
CIE-LABlab(51.90, 34.17, -64.75)
CIE-LCHlch(51.90, 73.22, 297.82°)
OKLaboklab(59.89% 0.0264 -0.1854)
OKLCHoklch(59.89% 0.187 278.1)
XYZxyz(26.5480, 20.0558, 81.8128)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6DEC #ECE96A
analogous
#6AAEEC #6A6DEC #A86AEC
triadic
#6A6DEC #EC6A6D #6DEC6A
tetradic
#6A6DEC #EC6AAE #ECE96A #6AECA8
square
#6A6DEC #EC6AAE #ECE96A #6AECA8
split-complementary
#6A6DEC #ECA86A #AEEC6A
monochromatic
#191DC3 #3438E5 #6A6DEC #A0A2F3 #D7D7FA

Accessibility & contrast

On white

4.19
#6A6DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#6A6DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6DEC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6DEC#FFFFFF#000000##000000
##6A6DEC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B81F0
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#268AA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6a6dec;
/* rgb */ color: rgb(106, 109, 236);
/* oklch */ color: oklch(59.9% 0.187 278.1);
Tailwind
colors: {
  custom: {
    50: '#9e97f3',
    500: '#6a6dec',
    950: '#000000',
  },
}
SCSS
$custom: #6a6dec;
$custom-light: #9e97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6dec",
  "rgb": {
    "r": 106,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 238.615,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59892,
    "c": 0.18726,
    "h": 278.1
  },
  "luminance": 0.20058
}

Semantic roles & 50–950 ramp

primary
#6A6DEC
secondary
#EEEDC4
accent
#D50CDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6A6DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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