#6958CC#6958CC

#6958CC is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.9% C 0.173 H 285.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6958CC
RGBrgb(105, 88, 204)
HSLhsl(249, 53%, 57%)
HSVhsv(249, 57%, 80%)
CMYKcmyk(48.5%, 56.9%, 0%, 20%)
CIE-LABlab(44.72, 36.72, -58.20)
CIE-LCHlch(44.72, 68.81, 302.25°)
OKLaboklab(53.86% 0.0468 -0.1663)
OKLCHoklch(53.86% 0.173 285.7)
XYZxyz(20.2113, 14.3414, 58.8182)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958CC #BBCC58
analogous
#5881CC #6958CC #A358CC
triadic
#6958CC #CC6958 #58CC69
tetradic
#6958CC #CC5881 #BBCC58 #58CCA3
square
#6958CC #CC5881 #BBCC58 #58CCA3
split-complementary
#6958CC #CCA358 #81CC58
monochromatic
#352882 #4836B1 #6958CC #9387DA #BDB6E9

Accessibility & contrast

On white

5.43
#6958CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6958CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958CC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958CC#FFFFFF#000000##FFFFFF
##6958CC1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026DD0
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#467289
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6958cc;
/* rgb */ color: rgb(105, 88, 204);
/* oklch */ color: oklch(53.9% 0.173 285.7);
Tailwind
colors: {
  custom: {
    50: '#9b88dc',
    500: '#6958cc',
    950: '#000000',
  },
}
SCSS
$custom: #6958cc;
$custom-light: #9b88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6958cc",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 248.793,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53858,
    "c": 0.17273,
    "h": 285.7
  },
  "luminance": 0.14342
}

Semantic roles & 50–950 ramp

primary
#6958CC
secondary
#D1D7A8
accent
#DD4BC7
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6958CC

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

Preview Lab → · Contrast checker → · Palette generator →

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