#6751F2#6751F2

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

Color values

HEX#6751F2
RGBrgb(103, 81, 242)
HSLhsl(248, 86%, 63%)
HSVhsv(248, 67%, 95%)
CMYKcmyk(57.4%, 66.5%, 0%, 5.1%)
CIE-LABlab(45.88, 51.75, -77.92)
CIE-LCHlch(45.88, 93.54, 303.59°)
OKLaboklab(55.55% 0.0483 -0.2243)
OKLCHoklch(55.55% 0.229 282.1)
XYZxyz(24.5580, 15.1776, 85.6227)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6751F2 #DCF251
analogous
#518BF2 #6751F2 #B751F2
triadic
#6751F2 #F26751 #51F267
tetradic
#6751F2 #F2518B #DCF251 #51F2B7
square
#6751F2 #F2518B #DCF251 #51F2B7
split-complementary
#6751F2 #F2B751 #8BF251
monochromatic
#260EBB #3518EE #6751F2 #998AF6 #CAC3FB

Accessibility & contrast

On white

5.20
#6751F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6751F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6751F2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6751F2#FFFFFF#000000##FFFFFF
##6751F21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6751f2;
/* rgb */ color: rgb(103, 81, 242);
/* oklch */ color: oklch(55.6% 0.229 282.1);
Tailwind
colors: {
  custom: {
    50: '#9f84f8',
    500: '#6751f2',
    950: '#000000',
  },
}
SCSS
$custom: #6751f2;
$custom-light: #9f84f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6751f2",
  "rgb": {
    "r": 103,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 248.199,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55551,
    "c": 0.22942,
    "h": 282.1
  },
  "luminance": 0.15179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6751F2

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

Preview Lab → · Contrast checker → · Palette generator →

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