#6A6DFE#6A6DFE

#6A6DFE is a mid, highly saturated blue. Relative luminance 0.212; OKLCH L 61.2% C 0.211 H 277.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6A6DFE
RGBrgb(106, 109, 254)
HSLhsl(239, 99%, 71%)
HSVhsv(239, 58%, 100%)
CMYKcmyk(58.3%, 57.1%, 0%, 0.4%)
CIE-LABlab(53.12, 39.82, -72.80)
CIE-LCHlch(53.12, 82.98, 298.68°)
OKLaboklab(61.19% 0.0267 -0.209)
OKLCHoklch(61.19% 0.211 277.3)
XYZxyz(29.2961, 21.1550, 96.2863)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6DFE #FEFB6A
analogous
#6AB7FE #6A6DFE #B16AFE
triadic
#6A6DFE #FE6A6D #6DFE6A
tetradic
#6A6DFE #FE6AB7 #FEFB6A #6AFEB1
square
#6A6DFE #FE6AB7 #FEFB6A #6AFEB1
split-complementary
#6A6DFE #FEB16A #B7FE6A
monochromatic
#0206EC #2D31FE #6A6DFE #A7A9FE #E1E1FF

Accessibility & contrast

On white

4.01
#6A6DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#6A6DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6DFE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6DFE#FFFFFF#000000##000000
##6A6DFE1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0079FB
Tritanopia (blue-blind)
#0090AB
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6a6dfe;
/* rgb */ color: rgb(106, 109, 254);
/* oklch */ color: oklch(61.2% 0.211 277.3);
Tailwind
colors: {
  custom: {
    50: '#a197ff',
    500: '#6a6dfe',
    950: '#000000',
  },
}
SCSS
$custom: #6a6dfe;
$custom-light: #a197ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6dfe",
  "rgb": {
    "r": 106,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 238.784,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.61185,
    "c": 0.21075,
    "h": 277.3
  },
  "luminance": 0.21157
}

Semantic roles & 50–950 ramp

primary
#6A6DFE
secondary
#F6F5CE
accent
#E100E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #6A6DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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