#6A6AFC#6A6AFC

#6A6AFC is a mid, highly saturated blue. Relative luminance 0.204; OKLCH L 60.5% C 0.212 H 278.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6A6AFC
RGBrgb(106, 106, 252)
HSLhsl(240, 96%, 70%)
HSVhsv(240, 58%, 99%)
CMYKcmyk(57.9%, 57.9%, 0%, 1.2%)
CIE-LABlab(52.28, 40.97, -73.04)
CIE-LCHlch(52.28, 83.75, 299.29°)
OKLaboklab(60.52% 0.0295 -0.2098)
OKLCHoklch(60.52% 0.212 278)
XYZxyz(28.6630, 20.3984, 94.5035)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6AFC #FCFC6A
analogous
#6AB3FC #6A6AFC #B36AFC
triadic
#6A6AFC #FC6A6A #6AFC6A
tetradic
#6A6AFC #FC6AB3 #FCFC6A #6AFCB3
square
#6A6AFC #FC6AB3 #FCFC6A #6AFCB3
split-complementary
#6A6AFC #FCB36A #B3FC6A
monochromatic
#0505E7 #2E2EFB #6A6AFC #A6A6FD #E1E1FE

Accessibility & contrast

On white

4.13
#6A6AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#6A6AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6AFC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6AFC#FFFFFF#000000##000000
##6A6AFC1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0077F9
Tritanopia (blue-blind)
#008DA9
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6a6afc;
/* rgb */ color: rgb(106, 106, 252);
/* oklch */ color: oklch(60.5% 0.212 278.0);
Tailwind
colors: {
  custom: {
    50: '#a195fe',
    500: '#6a6afc',
    950: '#000000',
  },
}
SCSS
$custom: #6a6afc;
$custom-light: #a195fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6afc",
  "rgb": {
    "r": 106,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 240,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.60523,
    "c": 0.21186,
    "h": 278
  },
  "luminance": 0.20401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A6AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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