#3946A7#3946A7

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

Color values

HEX#3946A7
RGBrgb(57, 70, 167)
HSLhsl(233, 49%, 44%)
HSVhsv(233, 66%, 65%)
CMYKcmyk(65.9%, 58.1%, 0%, 34.5%)
CIE-LABlab(34.06, 26.76, -53.91)
CIE-LCHlch(34.06, 60.19, 296.39°)
OKLaboklab(44.2% 0.007 -0.1551)
OKLCHoklch(44.2% 0.155 272.6)
XYZxyz(10.8502, 8.0392, 37.5317)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946A7 #A79A39
analogous
#397DA7 #3946A7 #6339A7
triadic
#3946A7 #A73946 #46A739
tetradic
#3946A7 #A7397D #A79A39 #39A763
square
#3946A7 #A7397D #A79A39 #39A763
split-complementary
#3946A7 #A76339 #7DA739
monochromatic
#1A204C #293379 #3946A7 #5764C6 #858FD5

Accessibility & contrast

On white

8.05
#3946A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3946A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946A7
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946A7#FFFFFF#000000##FFFFFF
##3946A71.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3946a7;
/* rgb */ color: rgb(57, 70, 167);
/* oklch */ color: oklch(44.2% 0.155 272.6);
Tailwind
colors: {
  custom: {
    50: '#7c79c2',
    500: '#3946a7',
    950: '#000000',
  },
}
SCSS
$custom: #3946a7;
$custom-light: #7c79c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3946a7",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 167
  },
  "hsl": {
    "h": 232.909,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44204,
    "c": 0.15528,
    "h": 272.6
  },
  "luminance": 0.0804
}

Semantic roles & 50–950 ramp

primary
#3946A7
secondary
#BFB77D
accent
#C84FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3946A7

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

Preview Lab → · Contrast checker → · Palette generator →

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