#6957D4#6957D4

#6957D4 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.3% C 0.185 H 285.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6957D4
RGBrgb(105, 87, 212)
HSLhsl(249, 59%, 59%)
HSVhsv(249, 59%, 83%)
CMYKcmyk(50.5%, 59%, 0%, 16.9%)
CIE-LABlab(45.04, 39.70, -62.27)
CIE-LCHlch(45.04, 73.85, 302.52°)
OKLaboklab(54.27% 0.0478 -0.1782)
OKLCHoklch(54.27% 0.185 285)
XYZxyz(21.1140, 14.5720, 63.9747)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6957D4 #C2D457
analogous
#5783D4 #6957D4 #A757D4
triadic
#6957D4 #D46957 #57D469
tetradic
#6957D4 #D45783 #C2D457 #57D4A7
square
#6957D4 #D45783 #C2D457 #57D4A7
split-complementary
#6957D4 #D4A757 #83D457
monochromatic
#33248D #4530BD #6957D4 #9588E0 #C0B8ED

Accessibility & contrast

On white

5.36
#6957D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#6957D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6957D4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6957D4#FFFFFF#000000##FFFFFF
##6957D41.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#41748D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6957d4;
/* rgb */ color: rgb(105, 87, 212);
/* oklch */ color: oklch(54.3% 0.185 285.0);
Tailwind
colors: {
  custom: {
    50: '#9c87e2',
    500: '#6957d4',
    950: '#000000',
  },
}
SCSS
$custom: #6957d4;
$custom-light: #9c87e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6957d4",
  "rgb": {
    "r": 105,
    "g": 87,
    "b": 212
  },
  "hsl": {
    "h": 248.64,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54272,
    "c": 0.18453,
    "h": 285
  },
  "luminance": 0.14573
}

Semantic roles & 50–950 ramp

primary
#6957D4
secondary
#D5DCAB
accent
#E245CC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6957D4

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

Preview Lab → · Contrast checker → · Palette generator →

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