#6958D2#6958D2

#6958D2 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.3% C 0.181 H 285.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6958D2
RGBrgb(105, 88, 210)
HSLhsl(248, 58%, 58%)
HSVhsv(248, 58%, 82%)
CMYKcmyk(50%, 58.1%, 0%, 17.6%)
CIE-LABlab(45.13, 38.52, -60.98)
CIE-LCHlch(45.13, 72.12, 302.28°)
OKLaboklab(54.29% 0.0468 -0.1744)
OKLCHoklch(54.29% 0.181 285)
XYZxyz(20.9448, 14.6348, 62.6814)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958D2 #C1D258
analogous
#5884D2 #6958D2 #A658D2
triadic
#6958D2 #D26958 #58D269
tetradic
#6958D2 #D25884 #C1D258 #58D2A6
square
#6958D2 #D25884 #C1D258 #58D2A6
split-complementary
#6958D2 #D2A658 #84D258
monochromatic
#33258A #4532BB #6958D2 #9488DF #C0B8EC

Accessibility & contrast

On white

5.35
#6958D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6958D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958D2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958D2#FFFFFF#000000##FFFFFF
##6958D21.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#42748C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6958d2;
/* rgb */ color: rgb(105, 88, 210);
/* oklch */ color: oklch(54.3% 0.181 285.0);
Tailwind
colors: {
  custom: {
    50: '#9c88e1',
    500: '#6958d2',
    950: '#000000',
  },
}
SCSS
$custom: #6958d2;
$custom-light: #9c88e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6958d2",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 248.361,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54292,
    "c": 0.1806,
    "h": 285
  },
  "luminance": 0.14636
}

Semantic roles & 50–950 ramp

primary
#6958D2
secondary
#D4DBAB
accent
#E147CB
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6958D2

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

Preview Lab → · Contrast checker → · Palette generator →

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