#6C54EC#6C54EC

#6C54EC is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.9% C 0.218 H 284.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6C54EC
RGBrgb(108, 84, 236)
HSLhsl(249, 80%, 63%)
HSVhsv(249, 64%, 93%)
CMYKcmyk(54.2%, 64.4%, 0%, 7.5%)
CIE-LABlab(46.42, 49.10, -73.64)
CIE-LCHlch(46.42, 88.51, 303.70°)
OKLaboklab(55.9% 0.0529 -0.2116)
OKLCHoklch(55.9% 0.218 284)
XYZxyz(24.4904, 15.5835, 81.0580)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C54EC #D4EC54
analogous
#5488EC #6C54EC #B854EC
triadic
#6C54EC #EC6C54 #54EC6C
tetradic
#6C54EC #EC5488 #D4EC54 #54ECB8
square
#6C54EC #EC5488 #D4EC54 #54ECB8
split-complementary
#6C54EC #ECB854 #88EC54
monochromatic
#2D14B2 #3D1DE6 #6C54EC #9B8BF2 #CBC2F8

Accessibility & contrast

On white

5.10
#6C54EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#6C54EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C54EC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C54EC#FFFFFF#000000##FFFFFF
##6C54EC1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#327A99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6c54ec;
/* rgb */ color: rgb(108, 84, 236);
/* oklch */ color: oklch(55.9% 0.218 284.0);
Tailwind
colors: {
  custom: {
    50: '#a186f3',
    500: '#6c54ec',
    950: '#000000',
  },
}
SCSS
$custom: #6c54ec;
$custom-light: #a186f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c54ec",
  "rgb": {
    "r": 108,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 249.474,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55899,
    "c": 0.21807,
    "h": 284
  },
  "luminance": 0.15585
}

Semantic roles & 50–950 ramp

primary
#6C54EC
secondary
#E1E9B2
accent
#DC09BB
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6C54EC

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

Preview Lab → · Contrast checker → · Palette generator →

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