#3947A1#3947A1

#3947A1 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.146 H 272.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#3947A1
RGBrgb(57, 71, 161)
HSLhsl(232, 48%, 43%)
HSVhsv(232, 65%, 63%)
CMYKcmyk(64.6%, 55.9%, 0%, 36.9%)
CIE-LABlab(33.88, 23.95, -50.62)
CIE-LCHlch(33.88, 56.00, 295.32°)
OKLaboklab(43.92% 0.0059 -0.1454)
OKLCHoklch(43.92% 0.146 272.3)
XYZxyz(10.3715, 7.9486, 34.6990)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947A1 #A19339
analogous
#397BA1 #3947A1 #5F39A1
triadic
#3947A1 #A13947 #47A139
tetradic
#3947A1 #A1397B #A19339 #39A15F
square
#3947A1 #A1397B #A19339 #39A15F
split-complementary
#3947A1 #A15F39 #7BA139
monochromatic
#191F47 #293374 #3947A1 #5563C3 #828DD3

Accessibility & contrast

On white

8.11
#3947A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3947A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3947A1#FFFFFF#000000##FFFFFF
##3947A11.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3947a1;
/* rgb */ color: rgb(57, 71, 161);
/* oklch */ color: oklch(43.9% 0.146 272.3);
Tailwind
colors: {
  custom: {
    50: '#7b7abd',
    500: '#3947a1',
    950: '#000000',
  },
}
SCSS
$custom: #3947a1;
$custom-light: #7b7abd;
$custom-dark: #000000;
JSON
{
  "hex": "#3947a1",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 161
  },
  "hsl": {
    "h": 231.923,
    "s": 47.706,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4392,
    "c": 0.14554,
    "h": 272.3
  },
  "luminance": 0.0795
}

Semantic roles & 50–950 ramp

primary
#3947A1
secondary
#BCB379
accent
#C550D7
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3947A1

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

Preview Lab → · Contrast checker → · Palette generator →

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