#6958D5#6958D5

#6958D5 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.5% C 0.184 H 284.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6958D5
RGBrgb(105, 88, 213)
HSLhsl(248, 60%, 59%)
HSVhsv(248, 59%, 84%)
CMYKcmyk(50.7%, 58.7%, 0%, 16.5%)
CIE-LABlab(45.34, 39.42, -62.36)
CIE-LCHlch(45.34, 73.77, 302.30°)
OKLaboklab(54.51% 0.0467 -0.1785)
OKLCHoklch(54.51% 0.185 284.7)
XYZxyz(21.3221, 14.7857, 64.6683)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958D5 #C4D558
analogous
#5886D5 #6958D5 #A858D5
triadic
#6958D5 #D56958 #58D569
tetradic
#6958D5 #D55886 #C4D558 #58D5A8
square
#6958D5 #D55886 #C4D558 #58D5A8
split-complementary
#6958D5 #D5A858 #86D558
monochromatic
#32248F #4430C0 #6958D5 #9589E1 #C1BAEE

Accessibility & contrast

On white

5.31
#6958D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6958D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958D5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958D5#FFFFFF#000000##FFFFFF
##6958D51.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#40758E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6958d5;
/* rgb */ color: rgb(105, 88, 213);
/* oklch */ color: oklch(54.5% 0.184 284.7);
Tailwind
colors: {
  custom: {
    50: '#9c88e3',
    500: '#6958d5',
    950: '#000000',
  },
}
SCSS
$custom: #6958d5;
$custom-light: #9c88e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6958d5",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 213
  },
  "hsl": {
    "h": 248.16,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54512,
    "c": 0.1845,
    "h": 284.7
  },
  "luminance": 0.14787
}

Semantic roles & 50–950 ramp

primary
#6958D5
secondary
#D6DDAC
accent
#E345CD
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0B15
muted
#7F7C84

Preview Lab

Preview with #6958D5

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

Preview Lab → · Contrast checker → · Palette generator →

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