#3946A2#3946A2

#3946A2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.148 H 272.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#3946A2
RGBrgb(57, 70, 162)
HSLhsl(233, 48%, 43%)
HSVhsv(233, 65%, 64%)
CMYKcmyk(64.8%, 56.8%, 0%, 36.5%)
CIE-LABlab(33.69, 24.96, -51.53)
CIE-LCHlch(33.69, 57.26, 295.85°)
OKLaboklab(43.8% 0.0069 -0.1481)
OKLCHoklch(43.8% 0.148 272.7)
XYZxyz(10.3969, 7.8579, 35.1442)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946A2 #A29539
analogous
#397BA2 #3946A2 #6039A2
triadic
#3946A2 #A23946 #46A239
tetradic
#3946A2 #A2397B #A29539 #39A260
square
#3946A2 #A2397B #A29539 #39A260
split-complementary
#3946A2 #A26039 #7BA239
monochromatic
#191F47 #293275 #3946A2 #5563C3 #828CD3

Accessibility & contrast

On white

8.17
#3946A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3946A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946A2
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946A2#FFFFFF#000000##FFFFFF
##3946A21.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3946a2;
/* rgb */ color: rgb(57, 70, 162);
/* oklch */ color: oklch(43.8% 0.148 272.7);
Tailwind
colors: {
  custom: {
    50: '#7b79be',
    500: '#3946a2',
    950: '#000000',
  },
}
SCSS
$custom: #3946a2;
$custom-light: #7b79be;
$custom-dark: #000000;
JSON
{
  "hex": "#3946a2",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 162
  },
  "hsl": {
    "h": 232.571,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43801,
    "c": 0.14827,
    "h": 272.7
  },
  "luminance": 0.07859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3946A2

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

Preview Lab → · Contrast checker → · Palette generator →

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