#6852EB#6852EB

#6852EB is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.2% C 0.220 H 283.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6852EB
RGBrgb(104, 82, 235)
HSLhsl(249, 79%, 62%)
HSVhsv(249, 65%, 92%)
CMYKcmyk(55.7%, 65.1%, 0%, 7.8%)
CIE-LABlab(45.60, 49.27, -74.43)
CIE-LCHlch(45.60, 89.26, 303.50°)
OKLaboklab(55.2% 0.0496 -0.214)
OKLCHoklch(55.2% 0.22 283)
XYZxyz(23.7170, 14.9743, 80.2217)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6852EB #D5EB52
analogous
#5289EB #6852EB #B452EB
triadic
#6852EB #EB6852 #52EB68
tetradic
#6852EB #EB5289 #D5EB52 #52EBB4
square
#6852EB #EB5289 #D5EB52 #52EBB4
split-complementary
#6852EB #EBB452 #89EB52
monochromatic
#2A14AE #381BE5 #6852EB #9889F1 #C8C0F8

Accessibility & contrast

On white

5.26
#6852EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6852EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6852EB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6852EB#FFFFFF#000000##FFFFFF
##6852EB1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6852eb;
/* rgb */ color: rgb(104, 82, 235);
/* oklch */ color: oklch(55.2% 0.220 283.0);
Tailwind
colors: {
  custom: {
    50: '#9f84f3',
    500: '#6852eb',
    950: '#000000',
  },
}
SCSS
$custom: #6852eb;
$custom-light: #9f84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6852eb",
  "rgb": {
    "r": 104,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 248.627,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.55197,
    "c": 0.2197,
    "h": 283
  },
  "luminance": 0.14976
}

Semantic roles & 50–950 ramp

primary
#6852EB
secondary
#E0E8B0
accent
#DC0ABD
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6852EB

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

Preview Lab → · Contrast checker → · Palette generator →

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