#6957D2#6957D2

#6957D2 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.1% C 0.182 H 285.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6957D2
RGBrgb(105, 87, 210)
HSLhsl(249, 58%, 58%)
HSVhsv(249, 59%, 82%)
CMYKcmyk(50%, 58.6%, 0%, 17.6%)
CIE-LABlab(44.90, 39.10, -61.35)
CIE-LCHlch(44.90, 72.75, 302.51°)
OKLaboklab(54.12% 0.0478 -0.1755)
OKLCHoklch(54.12% 0.182 285.2)
XYZxyz(20.8633, 14.4718, 62.6543)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6957D2 #C0D257
analogous
#5783D2 #6957D2 #A657D2
triadic
#6957D2 #D26957 #57D269
tetradic
#6957D2 #D25783 #C0D257 #57D2A6
square
#6957D2 #D25783 #C0D257 #57D2A6
split-complementary
#6957D2 #D2A657 #83D257
monochromatic
#34258A #4632BA #6957D2 #9487DF #BFB8EC

Accessibility & contrast

On white

5.39
#6957D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6957D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6957D2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6957D2#FFFFFF#000000##FFFFFF
##6957D21.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#42738C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6957d2;
/* rgb */ color: rgb(105, 87, 210);
/* oklch */ color: oklch(54.1% 0.182 285.2);
Tailwind
colors: {
  custom: {
    50: '#9c87e1',
    500: '#6957d2',
    950: '#000000',
  },
}
SCSS
$custom: #6957d2;
$custom-light: #9c87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6957d2",
  "rgb": {
    "r": 105,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 248.78,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54124,
    "c": 0.18194,
    "h": 285.2
  },
  "luminance": 0.14473
}

Semantic roles & 50–950 ramp

primary
#6957D2
secondary
#D4DBAA
accent
#E147CA
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6957D2

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

Preview Lab → · Contrast checker → · Palette generator →

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