#6C6DFC#6C6DFC

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

Color values

HEX#6C6DFC
RGBrgb(108, 109, 252)
HSLhsl(240, 96%, 71%)
HSVhsv(240, 57%, 99%)
CMYKcmyk(57.1%, 56.7%, 0%, 1.2%)
CIE-LABlab(53.12, 39.54, -71.69)
CIE-LCHlch(53.12, 81.87, 298.88°)
OKLaboklab(61.17% 0.029 -0.2057)
OKLCHoklch(61.17% 0.208 278)
XYZxyz(29.2181, 21.1516, 94.6196)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6DFC #FCFB6C
analogous
#6CB5FC #6C6DFC #B36CFC
triadic
#6C6DFC #FC6C6D #6DFC6C
tetradic
#6C6DFC #FC6CB5 #FCFB6C #6CFCB3
square
#6C6DFC #FC6CB5 #FCFB6C #6CFCB3
split-complementary
#6C6DFC #FCB36C #B5FC6C
monochromatic
#0506E9 #3031FB #6C6DFC #A8A9FD #E1E1FE

Accessibility & contrast

On white

4.01
#6C6DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#6C6DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C6DFC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6DFC#FFFFFF#000000##000000
##6C6DFC1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0079F9
Tritanopia (blue-blind)
#088FAA
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6c6dfc;
/* rgb */ color: rgb(108, 109, 252);
/* oklch */ color: oklch(61.2% 0.208 278.0);
Tailwind
colors: {
  custom: {
    50: '#a297fe',
    500: '#6c6dfc',
    950: '#000000',
  },
}
SCSS
$custom: #6c6dfc;
$custom-light: #a297fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6dfc",
  "rgb": {
    "r": 108,
    "g": 109,
    "b": 252
  },
  "hsl": {
    "h": 239.583,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.61173,
    "c": 0.20777,
    "h": 278
  },
  "luminance": 0.21154
}

Semantic roles & 50–950 ramp

primary
#6C6DFC
secondary
#F5F5CE
accent
#E400E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #6C6DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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