#6958CD#6958CD

#6958CD is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.9% C 0.174 H 285.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6958CD
RGBrgb(105, 88, 205)
HSLhsl(249, 54%, 57%)
HSVhsv(249, 57%, 80%)
CMYKcmyk(48.8%, 57.1%, 0%, 19.6%)
CIE-LABlab(44.79, 37.02, -58.66)
CIE-LCHlch(44.79, 69.37, 302.25°)
OKLaboklab(53.93% 0.0468 -0.1676)
OKLCHoklch(53.93% 0.174 285.6)
XYZxyz(20.3316, 14.3895, 59.4519)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958CD #BCCD58
analogous
#5881CD #6958CD #A458CD
triadic
#6958CD #CD6958 #58CD69
tetradic
#6958CD #CD5881 #BCCD58 #58CDA4
square
#6958CD #CD5881 #BCCD58 #58CDA4
split-complementary
#6958CD #CDA458 #81CD58
monochromatic
#352783 #4835B2 #6958CD #9387DB #BEB6E9

Accessibility & contrast

On white

5.42
#6958CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6958CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958CD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958CD#FFFFFF#000000##FFFFFF
##6958CD1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#46738A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6958cd;
/* rgb */ color: rgb(105, 88, 205);
/* oklch */ color: oklch(53.9% 0.174 285.6);
Tailwind
colors: {
  custom: {
    50: '#9b88dd',
    500: '#6958cd',
    950: '#000000',
  },
}
SCSS
$custom: #6958cd;
$custom-light: #9b88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6958cd",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 248.718,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5393,
    "c": 0.17405,
    "h": 285.6
  },
  "luminance": 0.1439
}

Semantic roles & 50–950 ramp

primary
#6958CD
secondary
#D1D8A9
accent
#DD4BC8
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6958CD

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

Preview Lab → · Contrast checker → · Palette generator →

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