#3946AF#3946AF

#3946AF is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.9% C 0.166 H 272.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3946AF
RGBrgb(57, 70, 175)
HSLhsl(233, 51%, 45%)
HSVhsv(233, 67%, 69%)
CMYKcmyk(67.4%, 60%, 0%, 31.4%)
CIE-LABlab(34.69, 29.61, -57.67)
CIE-LCHlch(34.69, 64.83, 297.18°)
OKLaboklab(44.87% 0.007 -0.1662)
OKLCHoklch(44.87% 0.166 272.4)
XYZxyz(11.6128, 8.3443, 41.5477)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946AF #AFA239
analogous
#3981AF #3946AF #6739AF
triadic
#3946AF #AF3946 #46AF39
tetradic
#3946AF #AF3981 #AFA239 #39AF67
square
#3946AF #AF3981 #AFA239 #39AF67
split-complementary
#3946AF #AF6739 #81AF39
monochromatic
#1B2153 #2A3481 #3946AF #5B68CA #8A92D9

Accessibility & contrast

On white

7.87
#3946AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3946AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946AF
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946AF#FFFFFF#000000##FFFFFF
##3946AF1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3946af;
/* rgb */ color: rgb(57, 70, 175);
/* oklch */ color: oklch(44.9% 0.166 272.4);
Tailwind
colors: {
  custom: {
    50: '#7e79c8',
    500: '#3946af',
    950: '#000000',
  },
}
SCSS
$custom: #3946af;
$custom-light: #7e79c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3946af",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 233.39,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44865,
    "c": 0.16631,
    "h": 272.4
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#3946AF
secondary
#C3BC81
accent
#CB4DDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3946AF

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

Preview Lab → · Contrast checker → · Palette generator →

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