#3947AC#3947AC

#3947AC is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.161 H 272.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#3947AC
RGBrgb(57, 71, 172)
HSLhsl(233, 50%, 45%)
HSVhsv(233, 67%, 67%)
CMYKcmyk(66.9%, 58.7%, 0%, 32.5%)
CIE-LABlab(34.71, 27.89, -55.85)
CIE-LCHlch(34.71, 62.43, 296.54°)
OKLaboklab(44.81% 0.0062 -0.1608)
OKLCHoklch(44.81% 0.161 272.2)
XYZxyz(11.3845, 8.3539, 40.0342)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947AC #AC9E39
analogous
#3980AC #3947AC #6539AC
triadic
#3947AC #AC3947 #47AC39
tetradic
#3947AC #AC3980 #AC9E39 #39AC65
square
#3947AC #AC3980 #AC9E39 #39AC65
split-complementary
#3947AC #AC6539 #80AC39
monochromatic
#1B2150 #2A347E #3947AC #5A67C8 #8892D8

Accessibility & contrast

On white

7.86
#3947AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3947AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3947AC#FFFFFF#000000##FFFFFF
##3947AC1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3947ac;
/* rgb */ color: rgb(57, 71, 172);
/* oklch */ color: oklch(44.8% 0.161 272.2);
Tailwind
colors: {
  custom: {
    50: '#7d7ac5',
    500: '#3947ac',
    950: '#000000',
  },
}
SCSS
$custom: #3947ac;
$custom-light: #7d7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3947ac",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 232.696,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44806,
    "c": 0.16093,
    "h": 272.2
  },
  "luminance": 0.08355
}

Semantic roles & 50–950 ramp

primary
#3947AC
secondary
#C2BA7F
accent
#C94EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3947AC

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

Preview Lab → · Contrast checker → · Palette generator →

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