#6958CB#6958CB

#6958CB is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.8% C 0.171 H 285.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6958CB
RGBrgb(105, 88, 203)
HSLhsl(249, 53%, 57%)
HSVhsv(249, 57%, 80%)
CMYKcmyk(48.3%, 56.7%, 0%, 20.4%)
CIE-LABlab(44.65, 36.42, -57.73)
CIE-LCHlch(44.65, 68.26, 302.25°)
OKLaboklab(53.79% 0.0468 -0.1649)
OKLCHoklch(53.79% 0.171 285.9)
XYZxyz(20.0917, 14.2936, 58.1886)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958CB #BACB58
analogous
#5880CB #6958CB #A358CB
triadic
#6958CB #CB6958 #58CB69
tetradic
#6958CB #CB5880 #BACB58 #58CBA3
square
#6958CB #CB5880 #BACB58 #58CBA3
split-complementary
#6958CB #CBA358 #80CB58
monochromatic
#352881 #4837AF #6958CB #9387DA #BDB5E8

Accessibility & contrast

On white

5.44
#6958CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6958CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958CB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958CB#FFFFFF#000000##FFFFFF
##6958CB1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066DCF
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#477289
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6958cb;
/* rgb */ color: rgb(105, 88, 203);
/* oklch */ color: oklch(53.8% 0.171 285.9);
Tailwind
colors: {
  custom: {
    50: '#9b87dc',
    500: '#6958cb',
    950: '#000000',
  },
}
SCSS
$custom: #6958cb;
$custom-light: #9b87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6958cb",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 248.87,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53786,
    "c": 0.1714,
    "h": 285.9
  },
  "luminance": 0.14295
}

Semantic roles & 50–950 ramp

primary
#6958CB
secondary
#D0D7A8
accent
#DC4CC7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6958CB

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

Preview Lab → · Contrast checker → · Palette generator →

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