#6851F2#6851F2

#6851F2 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.6% C 0.229 H 282.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6851F2
RGBrgb(104, 81, 242)
HSLhsl(249, 86%, 63%)
HSVhsv(249, 67%, 95%)
CMYKcmyk(57%, 66.5%, 0%, 5.1%)
CIE-LABlab(45.96, 51.90, -77.78)
CIE-LCHlch(45.96, 93.51, 303.71°)
OKLaboklab(55.63% 0.0495 -0.2239)
OKLCHoklch(55.63% 0.229 282.5)
XYZxyz(24.6734, 15.2371, 85.6281)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6851F2 #DBF251
analogous
#518BF2 #6851F2 #B851F2
triadic
#6851F2 #F26851 #51F268
tetradic
#6851F2 #F2518B #DBF251 #51F2B8
square
#6851F2 #F2518B #DBF251 #51F2B8
split-complementary
#6851F2 #F2B851 #8BF251
monochromatic
#270EBB #3718EE #6851F2 #998AF6 #CBC3FB

Accessibility & contrast

On white

5.19
#6851F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6851F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6851F2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6851F2#FFFFFF#000000##FFFFFF
##6851F21.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F7
Deuteranopia (green-blind)
#0067EF
Tritanopia (blue-blind)
#177B9B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6851f2;
/* rgb */ color: rgb(104, 81, 242);
/* oklch */ color: oklch(55.6% 0.229 282.5);
Tailwind
colors: {
  custom: {
    50: '#a084f8',
    500: '#6851f2',
    950: '#000000',
  },
}
SCSS
$custom: #6851f2;
$custom-light: #a084f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6851f2",
  "rgb": {
    "r": 104,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 248.571,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55629,
    "c": 0.22929,
    "h": 282.5
  },
  "luminance": 0.15239
}

Semantic roles & 50–950 ramp

primary
#6851F2
secondary
#E4ECB3
accent
#E303C3
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6851F2

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

Preview Lab → · Contrast checker → · Palette generator →

#6851F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva