#6957DC#6957DC

#6957DC is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.9% C 0.195 H 284.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6957DC
RGBrgb(105, 87, 220)
HSLhsl(248, 66%, 60%)
HSVhsv(248, 60%, 86%)
CMYKcmyk(52.3%, 60.5%, 0%, 13.7%)
CIE-LABlab(45.61, 42.10, -65.91)
CIE-LCHlch(45.61, 78.21, 302.57°)
OKLaboklab(54.87% 0.0475 -0.1889)
OKLCHoklch(54.87% 0.195 284.1)
XYZxyz(22.1483, 14.9857, 69.4218)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6957DC #CADC57
analogous
#5788DC #6957DC #AB57DC
triadic
#6957DC #DC6957 #57DC69
tetradic
#6957DC #DC5788 #CADC57 #57DCAB
square
#6957DC #DC5788 #CADC57 #57DCAB
split-complementary
#6957DC #DCAB57 #88DC57
monochromatic
#302099 #402ACB #6957DC #968AE7 #C3BCF1

Accessibility & contrast

On white

5.25
#6957DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6957DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6957DC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6957DC#FFFFFF#000000##FFFFFF
##6957DC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#3A7791
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6957dc;
/* rgb */ color: rgb(105, 87, 220);
/* oklch */ color: oklch(54.9% 0.195 284.1);
Tailwind
colors: {
  custom: {
    50: '#9d87e8',
    500: '#6957dc',
    950: '#000000',
  },
}
SCSS
$custom: #6957dc;
$custom-light: #9d87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6957dc",
  "rgb": {
    "r": 105,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 248.12,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54872,
    "c": 0.1948,
    "h": 284.1
  },
  "luminance": 0.14987
}

Semantic roles & 50–950 ramp

primary
#6957DC
secondary
#DAE1AE
accent
#CD18B5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6957DC

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

Preview Lab → · Contrast checker → · Palette generator →

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