#6958D4#6958D4

#6958D4 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.4% C 0.183 H 284.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6958D4
RGBrgb(105, 88, 212)
HSLhsl(248, 59%, 59%)
HSVhsv(248, 58%, 83%)
CMYKcmyk(50.5%, 58.5%, 0%, 16.9%)
CIE-LABlab(45.27, 39.12, -61.90)
CIE-LCHlch(45.27, 73.22, 302.29°)
OKLaboklab(54.44% 0.0467 -0.1771)
OKLCHoklch(54.44% 0.183 284.8)
XYZxyz(21.1955, 14.7351, 64.0019)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958D4 #C3D458
analogous
#5885D4 #6958D4 #A758D4
triadic
#6958D4 #D46958 #58D469
tetradic
#6958D4 #D45885 #C3D458 #58D4A7
square
#6958D4 #D45885 #C3D458 #58D4A7
split-complementary
#6958D4 #D4A758 #85D458
monochromatic
#33248D #4431BE #6958D4 #9589E1 #C0B9ED

Accessibility & contrast

On white

5.32
#6958D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6958D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958D4
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958D4#FFFFFF#000000##FFFFFF
##6958D41.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#41758D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6958d4;
/* rgb */ color: rgb(105, 88, 212);
/* oklch */ color: oklch(54.4% 0.183 284.8);
Tailwind
colors: {
  custom: {
    50: '#9c88e2',
    500: '#6958d4',
    950: '#000000',
  },
}
SCSS
$custom: #6958d4;
$custom-light: #9c88e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6958d4",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 212
  },
  "hsl": {
    "h": 248.226,
    "s": 59.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54439,
    "c": 0.1832,
    "h": 284.8
  },
  "luminance": 0.14736
}

Semantic roles & 50–950 ramp

primary
#6958D4
secondary
#D6DCAB
accent
#E246CD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6958D4

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

Preview Lab → · Contrast checker → · Palette generator →

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