#6958E8#6958E8

#6958E8 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.0% C 0.209 H 282.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6958E8
RGBrgb(105, 88, 232)
HSLhsl(247, 76%, 63%)
HSVhsv(247, 62%, 91%)
CMYKcmyk(54.7%, 62.1%, 0%, 9%)
CIE-LABlab(46.72, 45.14, -70.91)
CIE-LCHlch(46.72, 84.06, 302.48°)
OKLaboklab(55.96% 0.0458 -0.2036)
OKLCHoklch(55.96% 0.209 282.7)
XYZxyz(23.8764, 15.8074, 78.1213)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958E8 #D7E858
analogous
#588FE8 #6958E8 #B158E8
triadic
#6958E8 #E86958 #58E869
tetradic
#6958E8 #E8588F #D7E858 #58E8B1
square
#6958E8 #E8588F #D7E858 #58E8B1
split-complementary
#6958E8 #E8B158 #8FE858
monochromatic
#2A18AE #3922E1 #6958E8 #998EEF #CAC4F7

Accessibility & contrast

On white

5.05
#6958E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6958E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958E8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958E8#FFFFFF#000000##FFFFFF
##6958E81.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#006AE5
Tritanopia (blue-blind)
#2C7B98
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6958e8;
/* rgb */ color: rgb(105, 88, 232);
/* oklch */ color: oklch(56.0% 0.209 282.7);
Tailwind
colors: {
  custom: {
    50: '#9f88f0',
    500: '#6958e8',
    950: '#000000',
  },
}
SCSS
$custom: #6958e8;
$custom-light: #9f88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6958e8",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 247.083,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55959,
    "c": 0.20871,
    "h": 282.7
  },
  "luminance": 0.15809
}

Semantic roles & 50–950 ramp

primary
#6958E8
secondary
#E2E8B4
accent
#D80EC0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6958E8

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

Preview Lab → · Contrast checker → · Palette generator →

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