#3947A0#3947A0

#3947A0 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.144 H 272.3°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#3947A0
RGBrgb(57, 71, 160)
HSLhsl(232, 47%, 43%)
HSVhsv(232, 64%, 63%)
CMYKcmyk(64.4%, 55.6%, 0%, 37.3%)
CIE-LABlab(33.80, 23.59, -50.13)
CIE-LCHlch(33.80, 55.41, 295.20°)
OKLaboklab(43.84% 0.0058 -0.144)
OKLCHoklch(43.84% 0.144 272.3)
XYZxyz(10.2836, 7.9135, 34.2364)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947A0 #A09239
analogous
#397AA0 #3947A0 #5F39A0
triadic
#3947A0 #A03947 #47A039
tetradic
#3947A0 #A0397A #A09239 #39A05F
square
#3947A0 #A0397A #A09239 #39A05F
split-complementary
#3947A0 #A05F39 #7AA039
monochromatic
#191F46 #293373 #3947A0 #5463C2 #818CD2

Accessibility & contrast

On white

8.13
#3947A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3947A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3947A0#FFFFFF#000000##FFFFFF
##3947A01.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0254A3
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3947a0;
/* rgb */ color: rgb(57, 71, 160);
/* oklch */ color: oklch(43.8% 0.144 272.3);
Tailwind
colors: {
  custom: {
    50: '#7b7abd',
    500: '#3947a0',
    950: '#000000',
  },
}
SCSS
$custom: #3947a0;
$custom-light: #7b7abd;
$custom-dark: #000000;
JSON
{
  "hex": "#3947a0",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 160
  },
  "hsl": {
    "h": 231.845,
    "s": 47.465,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43842,
    "c": 0.14412,
    "h": 272.3
  },
  "luminance": 0.07914
}

Semantic roles & 50–950 ramp

primary
#3947A0
secondary
#BCB379
accent
#C551D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3947A0

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

Preview Lab → · Contrast checker → · Palette generator →

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