#6852E2#6852E2

#6852E2 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.5% C 0.209 H 284.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6852E2
RGBrgb(104, 82, 226)
HSLhsl(249, 71%, 60%)
HSVhsv(249, 64%, 89%)
CMYKcmyk(54%, 63.7%, 0%, 11.4%)
CIE-LABlab(44.90, 46.59, -70.49)
CIE-LCHlch(44.90, 84.49, 303.46°)
OKLaboklab(54.47% 0.0506 -0.2024)
OKLCHoklch(54.47% 0.209 284)
XYZxyz(22.4495, 14.4673, 73.5463)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6852E2 #CCE252
analogous
#5284E2 #6852E2 #B052E2
triadic
#6852E2 #E26852 #52E268
tetradic
#6852E2 #E25284 #CCE252 #52E2B0
square
#6852E2 #E25284 #CCE252 #52E2B0
split-complementary
#6852E2 #E2B052 #84E252
monochromatic
#2F1B9F #3E23D3 #6852E2 #9686EB #C3BBF4

Accessibility & contrast

On white

5.39
#6852E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6852E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6852E2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6852E2#FFFFFF#000000##FFFFFF
##6852E21.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#327693
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6852e2;
/* rgb */ color: rgb(104, 82, 226);
/* oklch */ color: oklch(54.5% 0.209 284.0);
Tailwind
colors: {
  custom: {
    50: '#9e84ec',
    500: '#6852e2',
    950: '#000000',
  },
}
SCSS
$custom: #6852e2;
$custom-light: #9e84ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6852e2",
  "rgb": {
    "r": 104,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 249.167,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54468,
    "c": 0.20867,
    "h": 284
  },
  "luminance": 0.14469
}

Semantic roles & 50–950 ramp

primary
#6852E2
secondary
#DBE3AC
accent
#D312B6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6852E2

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

Preview Lab → · Contrast checker → · Palette generator →

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