#3946A5#3946A5

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

Color values

HEX#3946A5
RGBrgb(57, 70, 165)
HSLhsl(233, 49%, 44%)
HSVhsv(233, 65%, 65%)
CMYKcmyk(65.5%, 57.6%, 0%, 35.3%)
CIE-LABlab(33.91, 26.04, -52.96)
CIE-LCHlch(33.91, 59.02, 296.18°)
OKLaboklab(44.04% 0.0069 -0.1523)
OKLCHoklch(44.04% 0.152 272.6)
XYZxyz(10.6668, 7.9659, 36.5655)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946A5 #A59839
analogous
#397CA5 #3946A5 #6239A5
triadic
#3946A5 #A53946 #46A539
tetradic
#3946A5 #A5397C #A59839 #39A562
square
#3946A5 #A5397C #A59839 #39A562
split-complementary
#3946A5 #A56239 #7CA539
monochromatic
#1A1F4A #293378 #3946A5 #5664C5 #848ED4

Accessibility & contrast

On white

8.10
#3946A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3946A5
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946A5#FFFFFF#000000##FFFFFF
##3946A51.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3946a5;
/* rgb */ color: rgb(57, 70, 165);
/* oklch */ color: oklch(44.0% 0.152 272.6);
Tailwind
colors: {
  custom: {
    50: '#7c79c0',
    500: '#3946a5',
    950: '#000000',
  },
}
SCSS
$custom: #3946a5;
$custom-light: #7c79c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3946a5",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 165
  },
  "hsl": {
    "h": 232.778,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44042,
    "c": 0.15249,
    "h": 272.6
  },
  "luminance": 0.07967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3946A5

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

Preview Lab → · Contrast checker → · Palette generator →

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