#6951E2#6951E2

#6951E2 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.4% C 0.210 H 284.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6951E2
RGBrgb(105, 81, 226)
HSLhsl(250, 71%, 60%)
HSVhsv(250, 64%, 89%)
CMYKcmyk(53.5%, 64.2%, 0%, 11.4%)
CIE-LABlab(44.77, 47.32, -70.69)
CIE-LCHlch(44.77, 85.07, 303.80°)
OKLaboklab(54.4% 0.0528 -0.203)
OKLCHoklch(54.4% 0.21 284.6)
XYZxyz(22.4914, 14.3778, 73.5268)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6951E2 #CAE251
analogous
#5181E2 #6951E2 #B151E2
triadic
#6951E2 #E26951 #51E269
tetradic
#6951E2 #E25181 #CAE251 #51E2B1
square
#6951E2 #E25181 #CAE251 #51E2B1
split-complementary
#6951E2 #E2B151 #81E251
monochromatic
#301A9E #4023D3 #6951E2 #9685EB #C3BAF3

Accessibility & contrast

On white

5.42
#6951E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6951E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6951E2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6951E2#FFFFFF#000000##FFFFFF
##6951E21.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#357592
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6951e2;
/* rgb */ color: rgb(105, 81, 226);
/* oklch */ color: oklch(54.4% 0.210 284.6);
Tailwind
colors: {
  custom: {
    50: '#9e83ec',
    500: '#6951e2',
    950: '#000000',
  },
}
SCSS
$custom: #6951e2;
$custom-light: #9e83ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6951e2",
  "rgb": {
    "r": 105,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 249.931,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54398,
    "c": 0.20976,
    "h": 284.6
  },
  "luminance": 0.14379
}

Semantic roles & 50–950 ramp

primary
#6951E2
secondary
#DAE3AC
accent
#D312B3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6951E2

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

Preview Lab → · Contrast checker → · Palette generator →

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