#6958D8#6958D8

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

Color values

HEX#6958D8
RGBrgb(105, 88, 216)
HSLhsl(248, 62%, 60%)
HSVhsv(248, 59%, 85%)
CMYKcmyk(51.4%, 59.3%, 0%, 15.3%)
CIE-LABlab(45.55, 40.32, -63.73)
CIE-LCHlch(45.55, 75.41, 302.32°)
OKLaboklab(54.74% 0.0466 -0.1825)
OKLCHoklch(54.74% 0.188 284.3)
XYZxyz(21.7064, 14.9394, 66.6923)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958D8 #C7D858
analogous
#5887D8 #6958D8 #A958D8
triadic
#6958D8 #D86958 #58D869
tetradic
#6958D8 #D85887 #C7D858 #58D8A9
square
#6958D8 #D85887 #C7D858 #58D8A9
split-complementary
#6958D8 #D8A958 #87D858
monochromatic
#312293 #422EC5 #6958D8 #968AE4 #C2BBEF

Accessibility & contrast

On white

5.27
#6958D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6958D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958D8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958D8#FFFFFF#000000##FFFFFF
##6958D81.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#3D7690
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6958d8;
/* rgb */ color: rgb(105, 88, 216);
/* oklch */ color: oklch(54.7% 0.188 284.3);
Tailwind
colors: {
  custom: {
    50: '#9c88e5',
    500: '#6958d8',
    950: '#000000',
  },
}
SCSS
$custom: #6958d8;
$custom-light: #9c88e5;
$custom-dark: #000000;
JSON
{
  "hex": "#6958d8",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 247.969,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54735,
    "c": 0.18839,
    "h": 284.3
  },
  "luminance": 0.14941
}

Semantic roles & 50–950 ramp

primary
#6958D8
secondary
#D8DFAD
accent
#E543D0
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6958D8

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

Preview Lab → · Contrast checker → · Palette generator →

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