#6958EB#6958EB

#6958EB is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.2% C 0.212 H 282.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#6958EB
RGBrgb(105, 88, 235)
HSLhsl(247, 79%, 63%)
HSVhsv(247, 63%, 92%)
CMYKcmyk(55.3%, 62.6%, 0%, 7.8%)
CIE-LABlab(46.95, 46.04, -72.23)
CIE-LCHlch(46.95, 85.66, 302.52°)
OKLaboklab(56.19% 0.0455 -0.2075)
OKLCHoklch(56.19% 0.212 282.4)
XYZxyz(24.3062, 15.9793, 80.3847)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958EB #DAEB58
analogous
#5890EB #6958EB #B258EB
triadic
#6958EB #EB6958 #58EB69
tetradic
#6958EB #EB5890 #DAEB58 #58EBB2
square
#6958EB #EB5890 #DAEB58 #58EBB2
split-complementary
#6958EB #EBB258 #90EB58
monochromatic
#2815B3 #3821E4 #6958EB #9A8FF2 #CBC5F8

Accessibility & contrast

On white

5.00
#6958EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#6958EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958EB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958EB#FFFFFF#000000##FFFFFF
##6958EB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#287C99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6958eb;
/* rgb */ color: rgb(105, 88, 235);
/* oklch */ color: oklch(56.2% 0.212 282.4);
Tailwind
colors: {
  custom: {
    50: '#9f88f2',
    500: '#6958eb',
    950: '#000000',
  },
}
SCSS
$custom: #6958eb;
$custom-light: #9f88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6958eb",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 246.939,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56195,
    "c": 0.21245,
    "h": 282.4
  },
  "luminance": 0.15981
}

Semantic roles & 50–950 ramp

primary
#6958EB
secondary
#E4EAB5
accent
#DB0BC3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6958EB

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

Preview Lab → · Contrast checker → · Palette generator →

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