#6751EC#6751EC

#6751EC is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 55.1% C 0.222 H 282.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6751EC
RGBrgb(103, 81, 236)
HSLhsl(249, 80%, 62%)
HSVhsv(249, 66%, 93%)
CMYKcmyk(56.4%, 65.7%, 0%, 7.5%)
CIE-LABlab(45.39, 49.97, -75.34)
CIE-LCHlch(45.39, 90.40, 303.55°)
OKLaboklab(55.05% 0.049 -0.2167)
OKLCHoklch(55.05% 0.222 282.7)
XYZxyz(23.6716, 14.8231, 80.9544)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6751EC #D6EC51
analogous
#5189EC #6751EC #B451EC
triadic
#6751EC #EC6751 #51EC67
tetradic
#6751EC #EC5189 #D6EC51 #51ECB4
square
#6751EC #EC5189 #D6EC51 #51ECB4
split-complementary
#6751EC #ECB451 #89EC51
monochromatic
#2913AF #371AE6 #6751EC #9788F2 #C7BFF8

Accessibility & contrast

On white

5.30
#6751EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6751EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6751EC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6751EC#FFFFFF#000000##FFFFFF
##6751EC1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#0066E9
Tritanopia (blue-blind)
#1F7998
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6751ec;
/* rgb */ color: rgb(103, 81, 236);
/* oklch */ color: oklch(55.1% 0.222 282.7);
Tailwind
colors: {
  custom: {
    50: '#9f83f3',
    500: '#6751ec',
    950: '#000000',
  },
}
SCSS
$custom: #6751ec;
$custom-light: #9f83f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6751ec",
  "rgb": {
    "r": 103,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 248.516,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.55051,
    "c": 0.2222,
    "h": 282.7
  },
  "luminance": 0.14825
}

Semantic roles & 50–950 ramp

primary
#6751EC
secondary
#E1E9B0
accent
#DD09BF
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6751EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6751EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva