#6752EB#6752EB

#6752EB is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.1% C 0.220 H 282.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6752EB
RGBrgb(103, 82, 235)
HSLhsl(248, 79%, 62%)
HSVhsv(248, 65%, 92%)
CMYKcmyk(56.2%, 65.1%, 0%, 7.8%)
CIE-LABlab(45.52, 49.11, -74.57)
CIE-LCHlch(45.52, 89.29, 303.37°)
OKLaboklab(55.12% 0.0483 -0.2145)
OKLCHoklch(55.12% 0.22 282.7)
XYZxyz(23.6016, 14.9148, 80.2163)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6752EB #D6EB52
analogous
#528AEB #6752EB #B352EB
triadic
#6752EB #EB6752 #52EB67
tetradic
#6752EB #EB528A #D6EB52 #52EBB3
square
#6752EB #EB528A #D6EB52 #52EBB3
split-complementary
#6752EB #EBB352 #8AEB52
monochromatic
#2914AE #371BE5 #6752EB #9789F1 #C7C0F8

Accessibility & contrast

On white

5.27
#6752EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6752EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6752EB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6752EB#FFFFFF#000000##FFFFFF
##6752EB1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#0066E8
Tritanopia (blue-blind)
#217997
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6752eb;
/* rgb */ color: rgb(103, 82, 235);
/* oklch */ color: oklch(55.1% 0.220 282.7);
Tailwind
colors: {
  custom: {
    50: '#9e84f3',
    500: '#6752eb',
    950: '#000000',
  },
}
SCSS
$custom: #6752eb;
$custom-light: #9e84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6752eb",
  "rgb": {
    "r": 103,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 248.235,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.55117,
    "c": 0.21983,
    "h": 282.7
  },
  "luminance": 0.14916
}

Semantic roles & 50–950 ramp

primary
#6752EB
secondary
#E1E8B0
accent
#DC0ABF
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6752EB

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

Preview Lab → · Contrast checker → · Palette generator →

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