#6A6EFE#6A6EFE

#6A6EFE is a mid, highly saturated blue. Relative luminance 0.214; OKLCH L 61.4% C 0.210 H 277.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6A6EFE
RGBrgb(106, 110, 254)
HSLhsl(238, 99%, 71%)
HSVhsv(238, 58%, 100%)
CMYKcmyk(58.3%, 56.7%, 0%, 0.4%)
CIE-LABlab(53.35, 39.23, -72.42)
CIE-LCHlch(53.35, 82.36, 298.44°)
OKLaboklab(61.36% 0.0258 -0.2079)
OKLCHoklch(61.36% 0.21 277.1)
XYZxyz(29.4034, 21.3696, 96.3220)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6EFE #FEFA6A
analogous
#6AB8FE #6A6EFE #B06AFE
triadic
#6A6EFE #FE6A6E #6EFE6A
tetradic
#6A6EFE #FE6AB8 #FEFA6A #6AFEB0
square
#6A6EFE #FE6AB8 #FEFA6A #6AFEB0
split-complementary
#6A6EFE #FEB06A #B8FE6A
monochromatic
#0208EC #2D33FE #6A6EFE #A7A9FE #E1E1FF

Accessibility & contrast

On white

3.98
#6A6EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#6A6EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6EFE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6EFE#FFFFFF#000000##000000
##6A6EFE1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a6efe;
/* rgb */ color: rgb(106, 110, 254);
/* oklch */ color: oklch(61.4% 0.210 277.1);
Tailwind
colors: {
  custom: {
    50: '#a197ff',
    500: '#6a6efe',
    950: '#000000',
  },
}
SCSS
$custom: #6a6efe;
$custom-light: #a197ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6efe",
  "rgb": {
    "r": 106,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 238.378,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.61357,
    "c": 0.20952,
    "h": 277.1
  },
  "luminance": 0.21372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A6EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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