#3947AA#3947AA

#3947AA is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.158 H 272.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#3947AA
RGBrgb(57, 71, 170)
HSLhsl(233, 50%, 45%)
HSVhsv(233, 66%, 67%)
CMYKcmyk(66.5%, 58.2%, 0%, 33.3%)
CIE-LABlab(34.55, 27.18, -54.91)
CIE-LCHlch(34.55, 61.27, 296.33°)
OKLaboklab(44.64% 0.0061 -0.158)
OKLCHoklch(44.64% 0.158 272.2)
XYZxyz(11.1938, 8.2776, 39.0302)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947AA #AA9C39
analogous
#3980AA #3947AA #6339AA
triadic
#3947AA #AA3947 #47AA39
tetradic
#3947AA #AA3980 #AA9C39 #39AA63
square
#3947AA #AA3980 #AA9C39 #39AA63
split-complementary
#3947AA #AA6339 #80AA39
monochromatic
#1A214E #2A347C #3947AA #5967C7 #8791D7

Accessibility & contrast

On white

7.91
#3947AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3947AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3947AA#FFFFFF#000000##FFFFFF
##3947AA1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3947aa;
/* rgb */ color: rgb(57, 71, 170);
/* oklch */ color: oklch(44.6% 0.158 272.2);
Tailwind
colors: {
  custom: {
    50: '#7d7ac4',
    500: '#3947aa',
    950: '#000000',
  },
}
SCSS
$custom: #3947aa;
$custom-light: #7d7ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#3947aa",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 232.566,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44642,
    "c": 0.15817,
    "h": 272.2
  },
  "luminance": 0.08279
}

Semantic roles & 50–950 ramp

primary
#3947AA
secondary
#C1B87E
accent
#C84ED9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3947AA

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

Preview Lab → · Contrast checker → · Palette generator →

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