#3946AD#3946AD

#3946AD is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.164 H 272.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#3946AD
RGBrgb(57, 70, 173)
HSLhsl(233, 50%, 45%)
HSVhsv(233, 67%, 68%)
CMYKcmyk(67.1%, 59.5%, 0%, 32.2%)
CIE-LABlab(34.53, 28.90, -56.74)
CIE-LCHlch(34.53, 63.67, 296.99°)
OKLaboklab(44.7% 0.007 -0.1634)
OKLCHoklch(44.7% 0.164 272.5)
XYZxyz(11.4178, 8.2663, 40.5209)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946AD #ADA039
analogous
#3980AD #3946AD #6639AD
triadic
#3946AD #AD3946 #46AD39
tetradic
#3946AD #AD3980 #ADA039 #39AD66
square
#3946AD #AD3980 #ADA039 #39AD66
split-complementary
#3946AD #AD6639 #80AD39
monochromatic
#1B2151 #2A337F #3946AD #5A67C9 #8891D8

Accessibility & contrast

On white

7.91
#3946AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3946AD
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946AD#FFFFFF#000000##FFFFFF
##3946AD1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3946ad;
/* rgb */ color: rgb(57, 70, 173);
/* oklch */ color: oklch(44.7% 0.164 272.5);
Tailwind
colors: {
  custom: {
    50: '#7d79c6',
    500: '#3946ad',
    950: '#000000',
  },
}
SCSS
$custom: #3946ad;
$custom-light: #7d79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3946ad",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 173
  },
  "hsl": {
    "h": 233.276,
    "s": 50.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44698,
    "c": 0.16357,
    "h": 272.5
  },
  "luminance": 0.08267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3946AD

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

Preview Lab → · Contrast checker → · Palette generator →

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