#3947A5#3947A5

#3947A5 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.151 H 272.3°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#3947A5
RGBrgb(57, 71, 165)
HSLhsl(232, 49%, 44%)
HSVhsv(232, 65%, 65%)
CMYKcmyk(65.5%, 57%, 0%, 35.3%)
CIE-LABlab(34.17, 25.38, -52.54)
CIE-LCHlch(34.17, 58.35, 295.79°)
OKLaboklab(44.24% 0.006 -0.1511)
OKLCHoklch(44.24% 0.151 272.3)
XYZxyz(10.7298, 8.0920, 36.5865)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947A5 #A59739
analogous
#397DA5 #3947A5 #6139A5
triadic
#3947A5 #A53947 #47A539
tetradic
#3947A5 #A5397D #A59739 #39A561
square
#3947A5 #A5397D #A59739 #39A561
split-complementary
#3947A5 #A56139 #7DA539
monochromatic
#1A204A #293378 #3947A5 #5665C5 #848ED4

Accessibility & contrast

On white

8.02
#3947A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3947A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3947A5
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947A5#FFFFFF#000000##FFFFFF
##3947A51.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3947a5;
/* rgb */ color: rgb(57, 71, 165);
/* oklch */ color: oklch(44.2% 0.151 272.3);
Tailwind
colors: {
  custom: {
    50: '#7c7ac0',
    500: '#3947a5',
    950: '#000000',
  },
}
SCSS
$custom: #3947a5;
$custom-light: #7c7ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#3947a5",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 165
  },
  "hsl": {
    "h": 232.222,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44238,
    "c": 0.15119,
    "h": 272.3
  },
  "luminance": 0.08093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3947A5

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

Preview Lab → · Contrast checker → · Palette generator →

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