#6A6BE6#6A6BE6

#6A6BE6 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 59.1% C 0.182 H 278.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6A6BE6
RGBrgb(106, 107, 230)
HSLhsl(240, 71%, 66%)
HSVhsv(240, 54%, 90%)
CMYKcmyk(53.9%, 53.5%, 0%, 9.8%)
CIE-LABlab(51.03, 33.49, -62.80)
CIE-LCHlch(51.03, 71.17, 298.07°)
OKLaboklab(59.11% 0.0282 -0.1796)
OKLCHoklch(59.11% 0.182 278.9)
XYZxyz(25.4800, 19.2911, 77.2285)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6BE6 #E6E56A
analogous
#6AA9E6 #6A6BE6 #A76AE6
triadic
#6A6BE6 #E66A6B #6BE66A
tetradic
#6A6BE6 #E66AA9 #E6E56A #6AE6A7
square
#6A6BE6 #E66AA9 #E6E56A #6AE6A7
split-complementary
#6A6BE6 #E6A76A #A9E66A
monochromatic
#1F20B7 #3637DD #6A6BE6 #9E9FEF #D3D3F8

Accessibility & contrast

On white

4.32
#6A6BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#6A6BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6BE6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6BE6#FFFFFF#000000##000000
##6A6BE61.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#207FEA
Deuteranopia (green-blind)
#0075E3
Tritanopia (blue-blind)
#2F879E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6a6be6;
/* rgb */ color: rgb(106, 107, 230);
/* oklch */ color: oklch(59.1% 0.182 278.9);
Tailwind
colors: {
  custom: {
    50: '#9e95ef',
    500: '#6a6be6',
    950: '#000000',
  },
}
SCSS
$custom: #6a6be6;
$custom-light: #9e95ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6be6",
  "rgb": {
    "r": 106,
    "g": 107,
    "b": 230
  },
  "hsl": {
    "h": 239.516,
    "s": 71.264,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59114,
    "c": 0.18185,
    "h": 278.9
  },
  "luminance": 0.19293
}

Semantic roles & 50–950 ramp

primary
#6A6BE6
secondary
#EAEAC1
accent
#D212D3
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #6A6BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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