#6852F1#6852F1

#6852F1 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.7% C 0.227 H 282.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6852F1
RGBrgb(104, 82, 241)
HSLhsl(248, 85%, 63%)
HSVhsv(248, 66%, 95%)
CMYKcmyk(56.8%, 66%, 0%, 5.5%)
CIE-LABlab(46.08, 51.05, -77.02)
CIE-LCHlch(46.08, 92.41, 303.54°)
OKLaboklab(55.69% 0.0489 -0.2216)
OKLCHoklch(55.69% 0.227 282.4)
XYZxyz(24.5985, 15.3269, 84.8642)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6852F1 #DBF152
analogous
#528BF1 #6852F1 #B752F1
triadic
#6852F1 #F16852 #52F168
tetradic
#6852F1 #F1528B #DBF152 #52F1B7
square
#6852F1 #F1528B #DBF152 #52F1B7
split-complementary
#6852F1 #F1B752 #8BF152
monochromatic
#270FBA #3719EC #6852F1 #998BF6 #CBC3FA

Accessibility & contrast

On white

5.17
#6852F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6852F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6852F1
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6852F1#FFFFFF#000000##FFFFFF
##6852F11.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F6
Deuteranopia (green-blind)
#0068EE
Tritanopia (blue-blind)
#1A7B9B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6852f1;
/* rgb */ color: rgb(104, 82, 241);
/* oklch */ color: oklch(55.7% 0.227 282.4);
Tailwind
colors: {
  custom: {
    50: '#a084f7',
    500: '#6852f1',
    950: '#000000',
  },
}
SCSS
$custom: #6852f1;
$custom-light: #a084f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6852f1",
  "rgb": {
    "r": 104,
    "g": 82,
    "b": 241
  },
  "hsl": {
    "h": 248.302,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55692,
    "c": 0.22696,
    "h": 282.4
  },
  "luminance": 0.15329
}

Semantic roles & 50–950 ramp

primary
#6852F1
secondary
#E4ECB3
accent
#E204C3
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6852F1

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

Preview Lab → · Contrast checker → · Palette generator →

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