#6B54EB#6B54EB

#6B54EB is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.7% C 0.217 H 283.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6B54EB
RGBrgb(107, 84, 235)
HSLhsl(249, 79%, 63%)
HSVhsv(249, 64%, 92%)
CMYKcmyk(54.5%, 64.3%, 0%, 7.8%)
CIE-LABlab(46.26, 48.64, -73.34)
CIE-LCHlch(46.26, 88.00, 303.55°)
OKLaboklab(55.74% 0.0517 -0.2107)
OKLCHoklch(55.74% 0.217 283.8)
XYZxyz(24.2245, 15.4632, 80.2894)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B54EB #D4EB54
analogous
#5489EB #6B54EB #B654EB
triadic
#6B54EB #EB6B54 #54EB6B
tetradic
#6B54EB #EB5489 #D4EB54 #54EBB6
square
#6B54EB #EB5489 #D4EB54 #54EBB6
split-complementary
#6B54EB #EBB654 #89EB54
monochromatic
#2C15B0 #3C1DE5 #6B54EB #9A8BF1 #CAC2F8

Accessibility & contrast

On white

5.13
#6B54EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#6B54EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B54EB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B54EB#FFFFFF#000000##FFFFFF
##6B54EB1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0069E8
Tritanopia (blue-blind)
#307A98
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6b54eb;
/* rgb */ color: rgb(107, 84, 235);
/* oklch */ color: oklch(55.7% 0.217 283.8);
Tailwind
colors: {
  custom: {
    50: '#a085f2',
    500: '#6b54eb',
    950: '#000000',
  },
}
SCSS
$custom: #6b54eb;
$custom-light: #a085f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b54eb",
  "rgb": {
    "r": 107,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 249.139,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55738,
    "c": 0.21697,
    "h": 283.8
  },
  "luminance": 0.15465
}

Semantic roles & 50–950 ramp

primary
#6B54EB
secondary
#E0E9B2
accent
#DB0ABB
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B54EB

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

Preview Lab → · Contrast checker → · Palette generator →

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