#6754EB#6754EB

#6754EB is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.4% C 0.217 H 282.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6754EB
RGBrgb(103, 84, 235)
HSLhsl(248, 79%, 63%)
HSVhsv(248, 64%, 92%)
CMYKcmyk(56.2%, 64.3%, 0%, 7.8%)
CIE-LABlab(45.94, 47.99, -73.89)
CIE-LCHlch(45.94, 88.10, 303.00°)
OKLaboklab(55.42% 0.0466 -0.2124)
OKLCHoklch(55.42% 0.217 282.4)
XYZxyz(23.7546, 15.2209, 80.2673)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754EB #D8EB54
analogous
#548CEB #6754EB #B354EB
triadic
#6754EB #EB6754 #54EB67
tetradic
#6754EB #EB548C #D8EB54 #54EBB3
square
#6754EB #EB548C #D8EB54 #54EBB3
split-complementary
#6754EB #EBB354 #8CEB54
monochromatic
#2815B0 #361DE5 #6754EB #988BF1 #C8C2F8

Accessibility & contrast

On white

5.19
#6754EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6754EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754EB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754EB#FFFFFF#000000##FFFFFF
##6754EB1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0067E8
Tritanopia (blue-blind)
#217A98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6754eb;
/* rgb */ color: rgb(103, 84, 235);
/* oklch */ color: oklch(55.4% 0.217 282.4);
Tailwind
colors: {
  custom: {
    50: '#9e85f2',
    500: '#6754eb',
    950: '#000000',
  },
}
SCSS
$custom: #6754eb;
$custom-light: #9e85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6754eb",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 247.55,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5542,
    "c": 0.21749,
    "h": 282.4
  },
  "luminance": 0.15222
}

Semantic roles & 50–950 ramp

primary
#6754EB
secondary
#E2E9B2
accent
#DB0AC1
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6754EB

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

Preview Lab → · Contrast checker → · Palette generator →

#6754EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva