#3946AC#3946AC

#3946AC is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.162 H 272.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#3946AC
RGBrgb(57, 70, 172)
HSLhsl(233, 50%, 45%)
HSVhsv(233, 67%, 67%)
CMYKcmyk(66.9%, 59.3%, 0%, 32.5%)
CIE-LABlab(34.45, 28.54, -56.27)
CIE-LCHlch(34.45, 63.09, 296.90°)
OKLaboklab(44.62% 0.007 -0.162)
OKLCHoklch(44.62% 0.162 272.5)
XYZxyz(11.3214, 8.2277, 40.0132)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946AC #AC9F39
analogous
#3980AC #3946AC #6539AC
triadic
#3946AC #AC3946 #46AC39
tetradic
#3946AC #AC3980 #AC9F39 #39AC65
square
#3946AC #AC3980 #AC9F39 #39AC65
split-complementary
#3946AC #AC6539 #80AC39
monochromatic
#1B2150 #2A337E #3946AC #5A66C8 #8891D8

Accessibility & contrast

On white

7.94
#3946AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3946AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946AC
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946AC#FFFFFF#000000##FFFFFF
##3946AC1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3946ac;
/* rgb */ color: rgb(57, 70, 172);
/* oklch */ color: oklch(44.6% 0.162 272.5);
Tailwind
colors: {
  custom: {
    50: '#7d79c6',
    500: '#3946ac',
    950: '#000000',
  },
}
SCSS
$custom: #3946ac;
$custom-light: #7d79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3946ac",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 233.217,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44615,
    "c": 0.1622,
    "h": 272.5
  },
  "luminance": 0.08229
}

Semantic roles & 50–950 ramp

primary
#3946AC
secondary
#C2BA7F
accent
#CA4EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3946AC

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

Preview Lab → · Contrast checker → · Palette generator →

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