#6A6AF8#6A6AF8

#6A6AF8 is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 60.2% C 0.207 H 278.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6A6AF8
RGBrgb(106, 106, 248)
HSLhsl(240, 91%, 69%)
HSVhsv(240, 57%, 97%)
CMYKcmyk(57.3%, 57.3%, 0%, 2.7%)
CIE-LABlab(52.00, 39.72, -71.28)
CIE-LCHlch(52.00, 81.60, 299.13°)
OKLaboklab(60.23% 0.0295 -0.2046)
OKLCHoklch(60.23% 0.207 278.2)
XYZxyz(28.0358, 20.1476, 91.2002)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6AF8 #F8F86A
analogous
#6AB1F8 #6A6AF8 #B16AF8
triadic
#6A6AF8 #F86A6A #6AF86A
tetradic
#6A6AF8 #F86AB1 #F8F86A #6AF8B1
square
#6A6AF8 #F86AB1 #F8F86A #6AF8B1
split-complementary
#6A6AF8 #F8B16A #B1F86A
monochromatic
#0A0ADD #3030F5 #6A6AF8 #A4A4FB #DFDFFD

Accessibility & contrast

On white

4.17
#6A6AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#6A6AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6AF8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6AF8#FFFFFF#000000##000000
##6A6AF81.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FD
Deuteranopia (green-blind)
#0076F5
Tritanopia (blue-blind)
#078CA7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6a6af8;
/* rgb */ color: rgb(106, 106, 248);
/* oklch */ color: oklch(60.2% 0.207 278.2);
Tailwind
colors: {
  custom: {
    50: '#a095fb',
    500: '#6a6af8',
    950: '#000000',
  },
}
SCSS
$custom: #6a6af8;
$custom-light: #a095fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6af8",
  "rgb": {
    "r": 106,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 240,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.60226,
    "c": 0.20673,
    "h": 278.2
  },
  "luminance": 0.2015
}

Semantic roles & 50–950 ramp

primary
#6A6AF8
secondary
#F3F3CA
accent
#E600E5
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #6A6AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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