#6C54EF#6C54EF

#6C54EF is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.1% C 0.222 H 283.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6C54EF
RGBrgb(108, 84, 239)
HSLhsl(249, 83%, 63%)
HSVhsv(249, 65%, 94%)
CMYKcmyk(54.8%, 64.9%, 0%, 6.3%)
CIE-LABlab(46.66, 49.99, -74.94)
CIE-LCHlch(46.66, 90.08, 303.70°)
OKLaboklab(56.14% 0.0525 -0.2154)
OKLCHoklch(56.14% 0.222 283.7)
XYZxyz(24.9299, 15.7593, 83.3728)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C54EF #D7EF54
analogous
#5489EF #6C54EF #B954EF
triadic
#6C54EF #EF6C54 #54EF6C
tetradic
#6C54EF #EF5489 #D7EF54 #54EFB9
square
#6C54EF #EF5489 #D7EF54 #54EFB9
split-complementary
#6C54EF #EFB954 #89EF54
monochromatic
#2B11B7 #3C1CEA #6C54EF #9C8CF4 #CCC4F9

Accessibility & contrast

On white

5.06
#6C54EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6C54EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C54EF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C54EF#FFFFFF#000000##FFFFFF
##6C54EF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#0069EC
Tritanopia (blue-blind)
#2E7B9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6c54ef;
/* rgb */ color: rgb(108, 84, 239);
/* oklch */ color: oklch(56.1% 0.222 283.7);
Tailwind
colors: {
  custom: {
    50: '#a186f5',
    500: '#6c54ef',
    950: '#000000',
  },
}
SCSS
$custom: #6c54ef;
$custom-light: #a186f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c54ef",
  "rgb": {
    "r": 108,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 249.29,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56141,
    "c": 0.22172,
    "h": 283.7
  },
  "luminance": 0.15761
}

Semantic roles & 50–950 ramp

primary
#6C54EF
secondary
#E2EBB4
accent
#DF06BE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6C54EF

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

Preview Lab → · Contrast checker → · Palette generator →

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