#3946A4#3946A4

#3946A4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.151 H 272.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#3946A4
RGBrgb(57, 70, 164)
HSLhsl(233, 48%, 43%)
HSVhsv(233, 65%, 64%)
CMYKcmyk(65.2%, 57.3%, 0%, 35.7%)
CIE-LABlab(33.84, 25.68, -52.49)
CIE-LCHlch(33.84, 58.43, 296.07°)
OKLaboklab(43.96% 0.0069 -0.1509)
OKLCHoklch(43.96% 0.151 272.6)
XYZxyz(10.5761, 7.9296, 36.0880)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946A4 #A49739
analogous
#397BA4 #3946A4 #6139A4
triadic
#3946A4 #A43946 #46A439
tetradic
#3946A4 #A4397B #A49739 #39A461
square
#3946A4 #A4397B #A49739 #39A461
split-complementary
#3946A4 #A46139 #7BA439
monochromatic
#191F49 #293377 #3946A4 #5663C4 #838DD4

Accessibility & contrast

On white

8.12
#3946A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3946A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946A4
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946A4#FFFFFF#000000##FFFFFF
##3946A41.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3946a4;
/* rgb */ color: rgb(57, 70, 164);
/* oklch */ color: oklch(44.0% 0.151 272.6);
Tailwind
colors: {
  custom: {
    50: '#7b79c0',
    500: '#3946a4',
    950: '#000000',
  },
}
SCSS
$custom: #3946a4;
$custom-light: #7b79c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3946a4",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 164
  },
  "hsl": {
    "h": 232.71,
    "s": 48.416,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43961,
    "c": 0.15109,
    "h": 272.6
  },
  "luminance": 0.07931
}

Semantic roles & 50–950 ramp

primary
#3946A4
secondary
#BEB67B
accent
#C750D8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3946A4

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

Preview Lab → · Contrast checker → · Palette generator →

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