#3946C4#3946C4

#3946C4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.7% C 0.194 H 271.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#3946C4
RGBrgb(57, 70, 196)
HSLhsl(234, 55%, 50%)
HSVhsv(234, 71%, 77%)
CMYKcmyk(70.9%, 64.3%, 0%, 23.1%)
CIE-LABlab(36.43, 37.04, -67.19)
CIE-LCHlch(36.43, 76.72, 298.86°)
OKLaboklab(46.69% 0.0062 -0.1941)
OKLCHoklch(46.69% 0.194 271.8)
XYZxyz(13.8379, 9.2343, 53.2670)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946C4 #C4B739
analogous
#398CC4 #3946C4 #7139C4
triadic
#3946C4 #C43946 #46C439
tetradic
#3946C4 #C4398C #C4B739 #39C471
square
#3946C4 #C4398C #C4B739 #39C471
split-complementary
#3946C4 #C47139 #8CC439
monochromatic
#1D2465 #2B3595 #3946C4 #6771D3 #979EE1

Accessibility & contrast

On white

7.38
#3946C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3946C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946C4
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946C4#FFFFFF#000000##FFFFFF
##3946C41.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#004FC2
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3946c4;
/* rgb */ color: rgb(57, 70, 196);
/* oklch */ color: oklch(46.7% 0.194 271.8);
Tailwind
colors: {
  custom: {
    50: '#8279d7',
    500: '#3946c4',
    950: '#000000',
  },
}
SCSS
$custom: #3946c4;
$custom-light: #8279d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3946c4",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 196
  },
  "hsl": {
    "h": 234.388,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46689,
    "c": 0.1942,
    "h": 271.8
  },
  "luminance": 0.09236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3946C4

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

Preview Lab → · Contrast checker → · Palette generator →

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