#6951E8#6951E8

#6951E8 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.9% C 0.217 H 283.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6951E8
RGBrgb(105, 81, 232)
HSLhsl(250, 77%, 61%)
HSVhsv(250, 65%, 91%)
CMYKcmyk(54.7%, 65.1%, 0%, 9%)
CIE-LABlab(45.24, 49.10, -73.32)
CIE-LCHlch(45.24, 88.24, 303.81°)
OKLaboklab(54.88% 0.0521 -0.2107)
OKLCHoklch(54.88% 0.217 283.9)
XYZxyz(23.3292, 14.7129, 77.9389)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6951E8 #D0E851
analogous
#5185E8 #6951E8 #B451E8
triadic
#6951E8 #E86951 #51E869
tetradic
#6951E8 #E85185 #D0E851 #51E8B4
square
#6951E8 #E85185 #D0E851 #51E8B4
split-complementary
#6951E8 #E8B451 #85E851
monochromatic
#2D16A8 #3C1DDE #6951E8 #9887EF #C6BDF6

Accessibility & contrast

On white

5.33
#6951E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#6951E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6951E8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6951E8#FFFFFF#000000##FFFFFF
##6951E81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#2E7796
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6951e8;
/* rgb */ color: rgb(105, 81, 232);
/* oklch */ color: oklch(54.9% 0.217 283.9);
Tailwind
colors: {
  custom: {
    50: '#9f83f0',
    500: '#6951e8',
    950: '#000000',
  },
}
SCSS
$custom: #6951e8;
$custom-light: #9f83f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6951e8",
  "rgb": {
    "r": 105,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 249.536,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54883,
    "c": 0.21709,
    "h": 283.9
  },
  "luminance": 0.14714
}

Semantic roles & 50–950 ramp

primary
#6951E8
secondary
#DEE7AE
accent
#D90DB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6951E8

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

Preview Lab → · Contrast checker → · Palette generator →

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