#3947AB#3947AB

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

Color values

HEX#3947AB
RGBrgb(57, 71, 171)
HSLhsl(233, 50%, 45%)
HSVhsv(233, 67%, 67%)
CMYKcmyk(66.7%, 58.5%, 0%, 32.9%)
CIE-LABlab(34.63, 27.54, -55.38)
CIE-LCHlch(34.63, 61.85, 296.44°)
OKLaboklab(44.72% 0.0062 -0.1594)
OKLCHoklch(44.72% 0.16 272.2)
XYZxyz(11.2888, 8.3156, 39.5303)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947AB #AB9D39
analogous
#3980AB #3947AB #6439AB
triadic
#3947AB #AB3947 #47AB39
tetradic
#3947AB #AB3980 #AB9D39 #39AB64
square
#3947AB #AB3980 #AB9D39 #39AB64
split-complementary
#3947AB #AB6439 #80AB39
monochromatic
#1A214F #2A347D #3947AB #5967C8 #8791D7

Accessibility & contrast

On white

7.88
#3947AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3947AB#FFFFFF#000000##FFFFFF
##3947AB1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3947ab;
/* rgb */ color: rgb(57, 71, 171);
/* oklch */ color: oklch(44.7% 0.160 272.2);
Tailwind
colors: {
  custom: {
    50: '#7d7ac5',
    500: '#3947ab',
    950: '#000000',
  },
}
SCSS
$custom: #3947ab;
$custom-light: #7d7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3947ab",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 232.632,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44723,
    "c": 0.15955,
    "h": 272.2
  },
  "luminance": 0.08317
}

Semantic roles & 50–950 ramp

primary
#3947AB
secondary
#C1B97F
accent
#C84EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3947AB

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

Preview Lab → · Contrast checker → · Palette generator →

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