#3946B9#3946B9

#3946B9 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.180 H 272.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#3946B9
RGBrgb(57, 70, 185)
HSLhsl(234, 53%, 47%)
HSVhsv(234, 69%, 73%)
CMYKcmyk(69.2%, 62.2%, 0%, 27.5%)
CIE-LABlab(35.50, 33.17, -62.26)
CIE-LCHlch(35.50, 70.54, 298.04°)
OKLaboklab(45.72% 0.0068 -0.1796)
OKLCHoklch(45.72% 0.18 272.2)
XYZxyz(12.6315, 8.7518, 46.9131)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946B9 #B9AC39
analogous
#3986B9 #3946B9 #6C39B9
triadic
#3946B9 #B93946 #46B939
tetradic
#3946B9 #B93986 #B9AC39 #39B96C
square
#3946B9 #B93986 #B9AC39 #39B96C
split-complementary
#3946B9 #B96C39 #86B939
monochromatic
#1C235B #2B348A #3946B9 #616CCE #9098DD

Accessibility & contrast

On white

7.63
#3946B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3946B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946B9
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946B9#FFFFFF#000000##FFFFFF
##3946B91.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3946b9;
/* rgb */ color: rgb(57, 70, 185);
/* oklch */ color: oklch(45.7% 0.180 272.2);
Tailwind
colors: {
  custom: {
    50: '#8079cf',
    500: '#3946b9',
    950: '#000000',
  },
}
SCSS
$custom: #3946b9;
$custom-light: #8079cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3946b9",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 185
  },
  "hsl": {
    "h": 233.906,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45718,
    "c": 0.17978,
    "h": 272.2
  },
  "luminance": 0.08753
}

Semantic roles & 50–950 ramp

primary
#3946B9
secondary
#C8C186
accent
#CE4BDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3946B9

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

Preview Lab → · Contrast checker → · Palette generator →

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