#6852E1#6852E1

#6852E1 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.4% C 0.207 H 284.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6852E1
RGBrgb(104, 82, 225)
HSLhsl(249, 70%, 60%)
HSVhsv(249, 64%, 88%)
CMYKcmyk(53.8%, 63.6%, 0%, 11.8%)
CIE-LABlab(44.82, 46.29, -70.05)
CIE-LCHlch(44.82, 83.96, 303.46°)
OKLaboklab(54.39% 0.0507 -0.2011)
OKLCHoklch(54.39% 0.207 284.1)
XYZxyz(22.3127, 14.4126, 72.8257)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6852E1 #CBE152
analogous
#5283E1 #6852E1 #B052E1
triadic
#6852E1 #E16852 #52E168
tetradic
#6852E1 #E15283 #CBE152 #52E1B0
square
#6852E1 #E15283 #CBE152 #52E1B0
split-complementary
#6852E1 #E1B052 #83E152
monochromatic
#2F1B9D #3F24D1 #6852E1 #9686EA #C3BAF3

Accessibility & contrast

On white

5.41
#6852E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6852E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6852E1
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6852E1#FFFFFF#000000##FFFFFF
##6852E11.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#337592
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6852e1;
/* rgb */ color: rgb(104, 82, 225);
/* oklch */ color: oklch(54.4% 0.207 284.1);
Tailwind
colors: {
  custom: {
    50: '#9d84eb',
    500: '#6852e1',
    950: '#000000',
  },
}
SCSS
$custom: #6852e1;
$custom-light: #9d84eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6852e1",
  "rgb": {
    "r": 104,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 249.231,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54388,
    "c": 0.20743,
    "h": 284.1
  },
  "luminance": 0.14414
}

Semantic roles & 50–950 ramp

primary
#6852E1
secondary
#DAE3AC
accent
#D213B5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6852E1

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

Preview Lab → · Contrast checker → · Palette generator →

#6852E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva