#6958D7#6958D7

#6958D7 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.7% C 0.187 H 284.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6958D7
RGBrgb(105, 88, 215)
HSLhsl(248, 61%, 59%)
HSVhsv(248, 59%, 84%)
CMYKcmyk(51.2%, 59.1%, 0%, 15.7%)
CIE-LABlab(45.48, 40.02, -63.27)
CIE-LCHlch(45.48, 74.86, 302.31°)
OKLaboklab(54.66% 0.0467 -0.1812)
OKLCHoklch(54.66% 0.187 284.4)
XYZxyz(21.5775, 14.8879, 66.0135)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958D7 #C6D758
analogous
#5887D7 #6958D7 #A858D7
triadic
#6958D7 #D76958 #58D769
tetradic
#6958D7 #D75887 #C6D758 #58D7A8
square
#6958D7 #D75887 #C6D758 #58D7A8
split-complementary
#6958D7 #D7A858 #87D758
monochromatic
#322392 #432FC3 #6958D7 #9589E3 #C2BBEF

Accessibility & contrast

On white

5.28
#6958D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6958D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958D7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958D7#FFFFFF#000000##FFFFFF
##6958D71.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)
#006FDB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#3E768F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6958d7;
/* rgb */ color: rgb(105, 88, 215);
/* oklch */ color: oklch(54.7% 0.187 284.4);
Tailwind
colors: {
  custom: {
    50: '#9c88e4',
    500: '#6958d7',
    950: '#000000',
  },
}
SCSS
$custom: #6958d7;
$custom-light: #9c88e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6958d7",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 248.031,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54661,
    "c": 0.18709,
    "h": 284.4
  },
  "luminance": 0.14889
}

Semantic roles & 50–950 ramp

primary
#6958D7
secondary
#D8DEAD
accent
#E443CF
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6958D7

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

Preview Lab → · Contrast checker → · Palette generator →

#6958D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva