#6954EB#6954EB

#6954EB is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.6% C 0.217 H 283.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6954EB
RGBrgb(105, 84, 235)
HSLhsl(248, 79%, 63%)
HSVhsv(248, 64%, 92%)
CMYKcmyk(55.3%, 64.3%, 0%, 7.8%)
CIE-LABlab(46.10, 48.31, -73.62)
CIE-LCHlch(46.10, 88.05, 303.28°)
OKLaboklab(55.58% 0.0491 -0.2116)
OKLCHoklch(55.58% 0.217 283.1)
XYZxyz(23.9868, 15.3406, 80.2782)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6954EB #D6EB54
analogous
#548BEB #6954EB #B454EB
triadic
#6954EB #EB6954 #54EB69
tetradic
#6954EB #EB548B #D6EB54 #54EBB4
square
#6954EB #EB548B #D6EB54 #54EBB4
split-complementary
#6954EB #EBB454 #8BEB54
monochromatic
#2A15B0 #391DE5 #6954EB #998BF1 #C9C2F8

Accessibility & contrast

On white

5.16
#6954EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6954EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6954EB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6954EB#FFFFFF#000000##FFFFFF
##6954EB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0068E8
Tritanopia (blue-blind)
#297A98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6954eb;
/* rgb */ color: rgb(105, 84, 235);
/* oklch */ color: oklch(55.6% 0.217 283.1);
Tailwind
colors: {
  custom: {
    50: '#9f85f2',
    500: '#6954eb',
    950: '#000000',
  },
}
SCSS
$custom: #6954eb;
$custom-light: #9f85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6954eb",
  "rgb": {
    "r": 105,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 248.344,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55578,
    "c": 0.21722,
    "h": 283.1
  },
  "luminance": 0.15342
}

Semantic roles & 50–950 ramp

primary
#6954EB
secondary
#E1E9B2
accent
#DB0ABE
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6954EB

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

Preview Lab → · Contrast checker → · Palette generator →

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