#6958E7#6958E7

#6958E7 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.9% C 0.207 H 282.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6958E7
RGBrgb(105, 88, 231)
HSLhsl(247, 75%, 63%)
HSVhsv(247, 62%, 91%)
CMYKcmyk(54.5%, 61.9%, 0%, 9.4%)
CIE-LABlab(46.65, 44.84, -70.47)
CIE-LCHlch(46.65, 83.52, 302.47°)
OKLaboklab(55.88% 0.0458 -0.2023)
OKLCHoklch(55.88% 0.207 282.8)
XYZxyz(23.7348, 15.7508, 77.3753)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958E7 #D6E758
analogous
#588EE7 #6958E7 #B158E7
triadic
#6958E7 #E76958 #58E769
tetradic
#6958E7 #E7588E #D6E758 #58E7B1
square
#6958E7 #E7588E #D6E758 #58E7B1
split-complementary
#6958E7 #E7B158 #8EE758
monochromatic
#2A19AC #3922DF #6958E7 #998EEF #C9C3F6

Accessibility & contrast

On white

5.06
#6958E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6958E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958E7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958E7#FFFFFF#000000##FFFFFF
##6958E71.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#2E7B97
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6958e7;
/* rgb */ color: rgb(105, 88, 231);
/* oklch */ color: oklch(55.9% 0.207 282.8);
Tailwind
colors: {
  custom: {
    50: '#9e88f0',
    500: '#6958e7',
    950: '#000000',
  },
}
SCSS
$custom: #6958e7;
$custom-light: #9e88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6958e7",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 247.133,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55881,
    "c": 0.20745,
    "h": 282.8
  },
  "luminance": 0.15752
}

Semantic roles & 50–950 ramp

primary
#6958E7
secondary
#E1E7B3
accent
#D70EBF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6958E7

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

Preview Lab → · Contrast checker → · Palette generator →

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