#3946C2#3946C2

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

Color values

HEX#3946C2
RGBrgb(57, 70, 194)
HSLhsl(234, 55%, 49%)
HSVhsv(234, 71%, 76%)
CMYKcmyk(70.6%, 63.9%, 0%, 23.9%)
CIE-LABlab(36.26, 36.34, -66.30)
CIE-LCHlch(36.26, 75.61, 298.72°)
OKLaboklab(46.51% 0.0064 -0.1915)
OKLCHoklch(46.51% 0.192 271.9)
XYZxyz(13.6118, 9.1439, 52.0761)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946C2 #C2B539
analogous
#398AC2 #3946C2 #7139C2
triadic
#3946C2 #C23946 #46C239
tetradic
#3946C2 #C2398A #C2B539 #39C271
square
#3946C2 #C2398A #C2B539 #39C271
split-complementary
#3946C2 #C27139 #8AC239
monochromatic
#1D2463 #2B3593 #3946C2 #6670D2 #959CE0

Accessibility & contrast

On white

7.42
#3946C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3946C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946C2
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946C2#FFFFFF#000000##FFFFFF
##3946C21.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3946c2;
/* rgb */ color: rgb(57, 70, 194);
/* oklch */ color: oklch(46.5% 0.192 271.9);
Tailwind
colors: {
  custom: {
    50: '#8279d5',
    500: '#3946c2',
    950: '#000000',
  },
}
SCSS
$custom: #3946c2;
$custom-light: #8279d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3946c2",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 234.307,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.4651,
    "c": 0.19161,
    "h": 271.9
  },
  "luminance": 0.09145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3946C2

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

Preview Lab → · Contrast checker → · Palette generator →

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