#6958DB#6958DB

#6958DB is a mid, vivid blue. Relative luminance 0.151; OKLCH L 55.0% C 0.192 H 284.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6958DB
RGBrgb(105, 88, 219)
HSLhsl(248, 65%, 60%)
HSVhsv(248, 60%, 86%)
CMYKcmyk(52.1%, 59.8%, 0%, 14.1%)
CIE-LABlab(45.77, 41.22, -65.09)
CIE-LCHlch(45.77, 77.04, 302.34°)
OKLaboklab(54.96% 0.0465 -0.1865)
OKLCHoklch(54.96% 0.192 284)
XYZxyz(22.0977, 15.0960, 68.7535)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958DB #CADB58
analogous
#5889DB #6958DB #AA58DB
triadic
#6958DB #DB6958 #58DB69
tetradic
#6958DB #DB5889 #CADB58 #58DBAA
square
#6958DB #DB5889 #CADB58 #58DBAA
split-complementary
#6958DB #DBAA58 #89DB58
monochromatic
#302198 #402CCA #6958DB #968AE6 #C3BDF1

Accessibility & contrast

On white

5.22
#6958DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6958DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958DB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958DB#FFFFFF#000000##FFFFFF
##6958DB1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#3B7791
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6958db;
/* rgb */ color: rgb(105, 88, 219);
/* oklch */ color: oklch(55.0% 0.192 284.0);
Tailwind
colors: {
  custom: {
    50: '#9d88e7',
    500: '#6958db',
    950: '#000000',
  },
}
SCSS
$custom: #6958db;
$custom-light: #9d88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6958db",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 247.786,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5496,
    "c": 0.19224,
    "h": 284
  },
  "luminance": 0.15097
}

Semantic roles & 50–950 ramp

primary
#6958DB
secondary
#DAE1AE
accent
#CC19B5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6958DB

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

Preview Lab → · Contrast checker → · Palette generator →

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