#6D54EB#6D54EB

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

Color values

HEX#6D54EB
RGBrgb(109, 84, 235)
HSLhsl(250, 79%, 63%)
HSVhsv(250, 64%, 92%)
CMYKcmyk(53.6%, 64.3%, 0%, 7.8%)
CIE-LABlab(46.43, 48.98, -73.06)
CIE-LCHlch(46.43, 87.96, 303.84°)
OKLaboklab(55.9% 0.0543 -0.2098)
OKLCHoklch(55.9% 0.217 284.5)
XYZxyz(24.4679, 15.5886, 80.3008)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D54EB #D2EB54
analogous
#5486EB #6D54EB #B954EB
triadic
#6D54EB #EB6D54 #54EB6D
tetradic
#6D54EB #EB5486 #D2EB54 #54EBB9
square
#6D54EB #EB5486 #D2EB54 #54EBB9
split-complementary
#6D54EB #EBB954 #86EB54
monochromatic
#2E15B0 #3E1DE5 #6D54EB #9C8BF1 #CBC2F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D54EB#FFFFFF#000000##FFFFFF
##6D54EB1.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)
#0072F0
Deuteranopia (green-blind)
#0069E8
Tritanopia (blue-blind)
#367A98
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6d54eb;
/* rgb */ color: rgb(109, 84, 235);
/* oklch */ color: oklch(55.9% 0.217 284.5);
Tailwind
colors: {
  custom: {
    50: '#a186f2',
    500: '#6d54eb',
    950: '#000000',
  },
}
SCSS
$custom: #6d54eb;
$custom-light: #a186f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d54eb",
  "rgb": {
    "r": 109,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 249.934,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55901,
    "c": 0.21674,
    "h": 284.5
  },
  "luminance": 0.1559
}

Semantic roles & 50–950 ramp

primary
#6D54EB
secondary
#E0E9B2
accent
#DB0AB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6D54EB

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

Preview Lab → · Contrast checker → · Palette generator →

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