#3946C7#3946C7

#3946C7 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.198 H 271.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#3946C7
RGBrgb(57, 70, 199)
HSLhsl(235, 56%, 50%)
HSVhsv(235, 71%, 78%)
CMYKcmyk(71.4%, 64.8%, 0%, 22%)
CIE-LABlab(36.69, 38.08, -68.51)
CIE-LCHlch(36.69, 78.39, 299.07°)
OKLaboklab(46.96% 0.006 -0.198)
OKLCHoklch(46.96% 0.198 271.7)
XYZxyz(14.1828, 9.3723, 55.0833)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946C7 #C7BA39
analogous
#398DC7 #3946C7 #7339C7
triadic
#3946C7 #C73946 #46C739
tetradic
#3946C7 #C7398D #C7BA39 #39C773
square
#3946C7 #C7398D #C7BA39 #39C773
split-complementary
#3946C7 #C77339 #8DC739
monochromatic
#1D2468 #2B3598 #3946C7 #6973D4 #989FE2

Accessibility & contrast

On white

7.30
#3946C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3946C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946C7
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946C7#FFFFFF#000000##FFFFFF
##3946C71.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#006880
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3946c7;
/* rgb */ color: rgb(57, 70, 199);
/* oklch */ color: oklch(47.0% 0.198 271.7);
Tailwind
colors: {
  custom: {
    50: '#8379d9',
    500: '#3946c7',
    950: '#000000',
  },
}
SCSS
$custom: #3946c7;
$custom-light: #8379d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3946c7",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 199
  },
  "hsl": {
    "h": 234.507,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46959,
    "c": 0.19807,
    "h": 271.7
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

primary
#3946C7
secondary
#CEC88E
accent
#D149DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3946C7

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

Preview Lab → · Contrast checker → · Palette generator →

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