#6958D9#6958D9

#6958D9 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.8% C 0.190 H 284.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6958D9
RGBrgb(105, 88, 217)
HSLhsl(248, 63%, 60%)
HSVhsv(248, 59%, 85%)
CMYKcmyk(51.6%, 59.4%, 0%, 14.9%)
CIE-LABlab(45.62, 40.62, -64.18)
CIE-LCHlch(45.62, 75.96, 302.33°)
OKLaboklab(54.81% 0.0466 -0.1839)
OKLCHoklch(54.81% 0.19 284.2)
XYZxyz(21.8360, 14.9913, 67.3752)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958D9 #C8D958
analogous
#5888D9 #6958D9 #AA58D9
triadic
#6958D9 #D96958 #58D969
tetradic
#6958D9 #D95888 #C8D958 #58D9AA
square
#6958D9 #D95888 #C8D958 #58D9AA
split-complementary
#6958D9 #D9AA58 #88D958
monochromatic
#312295 #412DC7 #6958D9 #968AE4 #C3BCF0

Accessibility & contrast

On white

5.25
#6958D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6958D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958D9
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958D9#FFFFFF#000000##FFFFFF
##6958D91.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#3C7690
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6958d9;
/* rgb */ color: rgb(105, 88, 217);
/* oklch */ color: oklch(54.8% 0.190 284.2);
Tailwind
colors: {
  custom: {
    50: '#9c88e6',
    500: '#6958d9',
    950: '#000000',
  },
}
SCSS
$custom: #6958d9;
$custom-light: #9c88e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6958d9",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 217
  },
  "hsl": {
    "h": 247.907,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5481,
    "c": 0.18967,
    "h": 284.2
  },
  "luminance": 0.14992
}

Semantic roles & 50–950 ramp

primary
#6958D9
secondary
#D9DFAD
accent
#E642D0
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6958D9

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

Preview Lab → · Contrast checker → · Palette generator →

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