#3946BF#3946BF

#3946BF is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.2% C 0.188 H 272.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#3946BF
RGBrgb(57, 70, 191)
HSLhsl(234, 54%, 49%)
HSVhsv(234, 70%, 75%)
CMYKcmyk(70.2%, 63.4%, 0%, 25.1%)
CIE-LABlab(36.00, 35.28, -64.97)
CIE-LCHlch(36.00, 73.93, 298.51°)
OKLaboklab(46.24% 0.0065 -0.1876)
OKLCHoklch(46.24% 0.188 272)
XYZxyz(13.2783, 9.0105, 50.3195)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946BF #BFB239
analogous
#3989BF #3946BF #6F39BF
triadic
#3946BF #BF3946 #46BF39
tetradic
#3946BF #BF3989 #BFB239 #39BF6F
square
#3946BF #BF3989 #BFB239 #39BF6F
split-complementary
#3946BF #BF6F39 #89BF39
monochromatic
#1D2361 #2B3590 #3946BF #646FD1 #939BDF

Accessibility & contrast

On white

7.49
#3946BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3946BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946BF
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946BF#FFFFFF#000000##FFFFFF
##3946BF1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#004FBD
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3946bf;
/* rgb */ color: rgb(57, 70, 191);
/* oklch */ color: oklch(46.2% 0.188 272.0);
Tailwind
colors: {
  custom: {
    50: '#8179d3',
    500: '#3946bf',
    950: '#000000',
  },
}
SCSS
$custom: #3946bf;
$custom-light: #8179d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3946bf",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 234.179,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46244,
    "c": 0.18769,
    "h": 272
  },
  "luminance": 0.09012
}

Semantic roles & 50–950 ramp

primary
#3946BF
secondary
#CAC48A
accent
#CF4ADD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3946BF

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

Preview Lab → · Contrast checker → · Palette generator →

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