#6A6AEF#6A6AEF

#6A6AEF is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.6% C 0.195 H 278.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#6A6AEF
RGBrgb(106, 106, 239)
HSLhsl(240, 81%, 68%)
HSVhsv(240, 56%, 94%)
CMYKcmyk(55.6%, 55.6%, 0%, 6.3%)
CIE-LABlab(51.38, 36.90, -67.27)
CIE-LCHlch(51.38, 76.72, 298.75°)
OKLaboklab(59.57% 0.0295 -0.1928)
OKLCHoklch(59.57% 0.195 278.7)
XYZxyz(26.6730, 19.6024, 84.0227)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6AEF #EFEF6A
analogous
#6AACEF #6A6AEF #AC6AEF
triadic
#6A6AEF #EF6A6A #6AEF6A
tetradic
#6A6AEF #EF6AAC #EFEF6A #6AEFAC
square
#6A6AEF #EF6AAC #EFEF6A #6AEFAC
split-complementary
#6A6AEF #EFAC6A #ACEF6A
monochromatic
#1616C9 #3333E9 #6A6AEF #A1A1F5 #D9D9FB

Accessibility & contrast

On white

4.27
#6A6AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#6A6AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6AEF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6AEF#FFFFFF#000000##000000
##6A6AEF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#2189A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6a6aef;
/* rgb */ color: rgb(106, 106, 239);
/* oklch */ color: oklch(59.6% 0.195 278.7);
Tailwind
colors: {
  custom: {
    50: '#9f94f5',
    500: '#6a6aef',
    950: '#000000',
  },
}
SCSS
$custom: #6a6aef;
$custom-light: #9f94f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6aef",
  "rgb": {
    "r": 106,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 240,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.59571,
    "c": 0.19504,
    "h": 278.7
  },
  "luminance": 0.19604
}

Semantic roles & 50–950 ramp

primary
#6A6AEF
secondary
#EFEFC6
accent
#DD09DD
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #6A6AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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