#3947A2#3947A2

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

Color values

HEX#3947A2
RGBrgb(57, 71, 162)
HSLhsl(232, 48%, 43%)
HSVhsv(232, 65%, 64%)
CMYKcmyk(64.8%, 56.2%, 0%, 36.5%)
CIE-LABlab(33.95, 24.31, -51.10)
CIE-LCHlch(33.95, 56.59, 295.44°)
OKLaboklab(44% 0.0059 -0.1468)
OKLCHoklch(44% 0.147 272.3)
XYZxyz(10.4600, 7.9841, 35.1653)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947A2 #A29439
analogous
#397BA2 #3947A2 #5F39A2
triadic
#3947A2 #A23947 #47A239
tetradic
#3947A2 #A2397B #A29439 #39A25F
square
#3947A2 #A2397B #A29439 #39A25F
split-complementary
#3947A2 #A25F39 #7BA239
monochromatic
#191F47 #293375 #3947A2 #5564C3 #828DD3

Accessibility & contrast

On white

8.09
#3947A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3947A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3947A2#FFFFFF#000000##FFFFFF
##3947A21.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3947a2;
/* rgb */ color: rgb(57, 71, 162);
/* oklch */ color: oklch(44.0% 0.147 272.3);
Tailwind
colors: {
  custom: {
    50: '#7b7abe',
    500: '#3947a2',
    950: '#000000',
  },
}
SCSS
$custom: #3947a2;
$custom-light: #7b7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3947a2",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 232,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43999,
    "c": 0.14696,
    "h": 272.3
  },
  "luminance": 0.07985
}

Semantic roles & 50–950 ramp

primary
#3947A2
secondary
#BDB47A
accent
#C550D8
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3947A2

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

Preview Lab → · Contrast checker → · Palette generator →

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