#6957D9#6957D9

#6957D9 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.6% C 0.191 H 284.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6957D9
RGBrgb(105, 87, 217)
HSLhsl(248, 63%, 60%)
HSVhsv(248, 60%, 85%)
CMYKcmyk(51.6%, 59.9%, 0%, 14.9%)
CIE-LABlab(45.40, 41.20, -64.55)
CIE-LCHlch(45.40, 76.58, 302.55°)
OKLaboklab(54.65% 0.0476 -0.1849)
OKLCHoklch(54.65% 0.191 284.4)
XYZxyz(21.7545, 14.8282, 67.3480)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6957D9 #C7D957
analogous
#5786D9 #6957D9 #AA57D9
triadic
#6957D9 #D96957 #57D969
tetradic
#6957D9 #D95786 #C7D957 #57D9AA
square
#6957D9 #D95786 #C7D957 #57D9AA
split-complementary
#6957D9 #D9AA57 #86D957
monochromatic
#312194 #422DC6 #6957D9 #9689E4 #C2BBF0

Accessibility & contrast

On white

5.30
#6957D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6957D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6957D9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6957D9#FFFFFF#000000##FFFFFF
##6957D91.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#3D7690
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6957d9;
/* rgb */ color: rgb(105, 87, 217);
/* oklch */ color: oklch(54.6% 0.191 284.4);
Tailwind
colors: {
  custom: {
    50: '#9d87e6',
    500: '#6957d9',
    950: '#000000',
  },
}
SCSS
$custom: #6957d9;
$custom-light: #9d87e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6957d9",
  "rgb": {
    "r": 105,
    "g": 87,
    "b": 217
  },
  "hsl": {
    "h": 248.308,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54645,
    "c": 0.19097,
    "h": 284.4
  },
  "luminance": 0.14829
}

Semantic roles & 50–950 ramp

primary
#6957D9
secondary
#D8DFAD
accent
#E642CF
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6957D9

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

Preview Lab → · Contrast checker → · Palette generator →

#6957D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva