#6A54EB#6A54EB

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

Color values

HEX#6A54EB
RGBrgb(106, 84, 235)
HSLhsl(249, 79%, 63%)
HSVhsv(249, 64%, 92%)
CMYKcmyk(54.9%, 64.3%, 0%, 7.8%)
CIE-LABlab(46.18, 48.48, -73.48)
CIE-LCHlch(46.18, 88.03, 303.41°)
OKLaboklab(55.66% 0.0504 -0.2112)
OKLCHoklch(55.66% 0.217 283.4)
XYZxyz(24.1050, 15.4015, 80.2838)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A54EB #D5EB54
analogous
#5489EB #6A54EB #B654EB
triadic
#6A54EB #EB6A54 #54EB6A
tetradic
#6A54EB #EB5489 #D5EB54 #54EBB6
square
#6A54EB #EB5489 #D5EB54 #54EBB6
split-complementary
#6A54EB #EBB654 #89EB54
monochromatic
#2B15B0 #3A1DE5 #6A54EB #9A8BF1 #C9C2F8

Accessibility & contrast

On white

5.15
#6A54EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6A54EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A54EB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A54EB#FFFFFF#000000##FFFFFF
##6A54EB1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0068E8
Tritanopia (blue-blind)
#2C7A98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6a54eb;
/* rgb */ color: rgb(106, 84, 235);
/* oklch */ color: oklch(55.7% 0.217 283.4);
Tailwind
colors: {
  custom: {
    50: '#a085f2',
    500: '#6a54eb',
    950: '#000000',
  },
}
SCSS
$custom: #6a54eb;
$custom-light: #a085f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a54eb",
  "rgb": {
    "r": 106,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 248.742,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55657,
    "c": 0.2171,
    "h": 283.4
  },
  "luminance": 0.15403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A54EB

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

Preview Lab → · Contrast checker → · Palette generator →

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