#6958CF#6958CF

#6958CF is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.1% C 0.177 H 285.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6958CF
RGBrgb(105, 88, 207)
HSLhsl(249, 55%, 58%)
HSVhsv(249, 57%, 81%)
CMYKcmyk(49.3%, 57.5%, 0%, 18.8%)
CIE-LABlab(44.92, 37.62, -59.59)
CIE-LCHlch(44.92, 70.47, 302.26°)
OKLaboklab(54.07% 0.0468 -0.1704)
OKLCHoklch(54.07% 0.177 285.4)
XYZxyz(20.5746, 14.4867, 60.7315)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958CF #BECF58
analogous
#5883CF #6958CF #A458CF
triadic
#6958CF #CF6958 #58CF69
tetradic
#6958CF #CF5883 #BECF58 #58CFA4
square
#6958CF #CF5883 #BECF58 #58CFA4
split-complementary
#6958CF #CFA458 #83CF58
monochromatic
#342786 #4734B6 #6958CF #9488DD #BEB7EA

Accessibility & contrast

On white

5.39
#6958CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6958CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958CF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958CF#FFFFFF#000000##FFFFFF
##6958CF1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#44738B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6958cf;
/* rgb */ color: rgb(105, 88, 207);
/* oklch */ color: oklch(54.1% 0.177 285.4);
Tailwind
colors: {
  custom: {
    50: '#9b88de',
    500: '#6958cf',
    950: '#000000',
  },
}
SCSS
$custom: #6958cf;
$custom-light: #9b88de;
$custom-dark: #000000;
JSON
{
  "hex": "#6958cf",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 248.571,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54074,
    "c": 0.17668,
    "h": 285.4
  },
  "luminance": 0.14488
}

Semantic roles & 50–950 ramp

primary
#6958CF
secondary
#D2D9AA
accent
#DF49C9
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6958CF

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

Preview Lab → · Contrast checker → · Palette generator →

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