#3946C1#3946C1

#3946C1 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.4% C 0.190 H 271.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#3946C1
RGBrgb(57, 70, 193)
HSLhsl(234, 54%, 49%)
HSVhsv(234, 70%, 76%)
CMYKcmyk(70.5%, 63.7%, 0%, 24.3%)
CIE-LABlab(36.17, 35.99, -65.86)
CIE-LCHlch(36.17, 75.05, 298.65°)
OKLaboklab(46.42% 0.0064 -0.1902)
OKLCHoklch(46.42% 0.19 271.9)
XYZxyz(13.4999, 9.0991, 51.4866)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946C1 #C1B439
analogous
#398AC1 #3946C1 #7039C1
triadic
#3946C1 #C13946 #46C139
tetradic
#3946C1 #C1398A #C1B439 #39C170
square
#3946C1 #C1398A #C1B439 #39C170
split-complementary
#3946C1 #C17039 #8AC139
monochromatic
#1D2463 #2B3592 #3946C1 #6670D2 #959CE0

Accessibility & contrast

On white

7.45
#3946C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3946C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946C1
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946C1#FFFFFF#000000##FFFFFF
##3946C11.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3946c1;
/* rgb */ color: rgb(57, 70, 193);
/* oklch */ color: oklch(46.4% 0.190 271.9);
Tailwind
colors: {
  custom: {
    50: '#8279d5',
    500: '#3946c1',
    950: '#000000',
  },
}
SCSS
$custom: #3946c1;
$custom-light: #8279d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3946c1",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 193
  },
  "hsl": {
    "h": 234.265,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46421,
    "c": 0.19031,
    "h": 271.9
  },
  "luminance": 0.091
}

Semantic roles & 50–950 ramp

primary
#3946C1
secondary
#CBC58B
accent
#D04ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3946C1

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

Preview Lab → · Contrast checker → · Palette generator →

#3946C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva