#6951EB#6951EB

#6951EB is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.1% C 0.221 H 283.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6951EB
RGBrgb(105, 81, 235)
HSLhsl(249, 79%, 62%)
HSVhsv(249, 66%, 92%)
CMYKcmyk(55.3%, 65.5%, 0%, 7.8%)
CIE-LABlab(45.48, 49.98, -74.63)
CIE-LCHlch(45.48, 89.82, 303.81°)
OKLaboklab(55.13% 0.0517 -0.2146)
OKLCHoklch(55.13% 0.221 283.6)
XYZxyz(23.7589, 14.8848, 80.2023)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6951EB #D3EB51
analogous
#5186EB #6951EB #B651EB
triadic
#6951EB #EB6951 #51EB69
tetradic
#6951EB #EB5186 #D3EB51 #51EBB6
square
#6951EB #EB5186 #D3EB51 #51EBB6
split-complementary
#6951EB #EBB651 #86EB51
monochromatic
#2C14AE #3A1AE5 #6951EB #9888F1 #C8BFF8

Accessibility & contrast

On white

5.28
#6951EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6951EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6951EB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6951EB#FFFFFF#000000##FFFFFF
##6951EB1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F0
Deuteranopia (green-blind)
#0067E8
Tritanopia (blue-blind)
#297897
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6951eb;
/* rgb */ color: rgb(105, 81, 235);
/* oklch */ color: oklch(55.1% 0.221 283.6);
Tailwind
colors: {
  custom: {
    50: '#9f83f3',
    500: '#6951eb',
    950: '#000000',
  },
}
SCSS
$custom: #6951eb;
$custom-light: #9f83f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6951eb",
  "rgb": {
    "r": 105,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 249.351,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55128,
    "c": 0.22073,
    "h": 283.6
  },
  "luminance": 0.14886
}

Semantic roles & 50–950 ramp

primary
#6951EB
secondary
#DFE8B0
accent
#DC0ABB
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6951EB

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

Preview Lab → · Contrast checker → · Palette generator →

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