#6A6CFC#6A6CFC

#6A6CFC is a mid, highly saturated blue. Relative luminance 0.208; OKLCH L 60.9% C 0.209 H 277.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6A6CFC
RGBrgb(106, 108, 252)
HSLhsl(239, 96%, 70%)
HSVhsv(239, 58%, 99%)
CMYKcmyk(57.9%, 57.1%, 0%, 1.2%)
CIE-LABlab(52.75, 39.79, -72.29)
CIE-LCHlch(52.75, 82.52, 298.83°)
OKLaboklab(60.87% 0.0276 -0.2076)
OKLCHoklch(60.87% 0.209 277.6)
XYZxyz(28.8715, 20.8155, 94.5730)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6CFC #FCFA6A
analogous
#6AB5FC #6A6CFC #B16AFC
triadic
#6A6CFC #FC6A6C #6CFC6A
tetradic
#6A6CFC #FC6AB5 #FCFA6A #6AFCB1
square
#6A6CFC #FC6AB5 #FCFA6A #6AFCB1
split-complementary
#6A6CFC #FCB16A #B5FC6A
monochromatic
#0508E7 #2E31FB #6A6CFC #A6A7FD #E1E1FE

Accessibility & contrast

On white

4.07
#6A6CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#6A6CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6CFC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6CFC#FFFFFF#000000##000000
##6A6CFC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#0078F9
Tritanopia (blue-blind)
#008EAA
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6a6cfc;
/* rgb */ color: rgb(106, 108, 252);
/* oklch */ color: oklch(60.9% 0.209 277.6);
Tailwind
colors: {
  custom: {
    50: '#a196fe',
    500: '#6a6cfc',
    950: '#000000',
  },
}
SCSS
$custom: #6a6cfc;
$custom-light: #a196fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6cfc",
  "rgb": {
    "r": 106,
    "g": 108,
    "b": 252
  },
  "hsl": {
    "h": 239.178,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.60865,
    "c": 0.20941,
    "h": 277.6
  },
  "luminance": 0.20818
}

Semantic roles & 50–950 ramp

primary
#6A6CFC
secondary
#F5F5CD
accent
#E200E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #6A6CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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