#3947AD#3947AD

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

Color values

HEX#3947AD
RGBrgb(57, 71, 173)
HSLhsl(233, 50%, 45%)
HSVhsv(233, 67%, 68%)
CMYKcmyk(67.1%, 59%, 0%, 32.2%)
CIE-LABlab(34.79, 28.25, -56.32)
CIE-LCHlch(34.79, 63.01, 296.64°)
OKLaboklab(44.89% 0.0062 -0.1622)
OKLCHoklch(44.89% 0.162 272.2)
XYZxyz(11.4809, 8.3924, 40.5419)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947AD #AD9F39
analogous
#3981AD #3947AD #6539AD
triadic
#3947AD #AD3947 #47AD39
tetradic
#3947AD #AD3981 #AD9F39 #39AD65
square
#3947AD #AD3981 #AD9F39 #39AD65
split-complementary
#3947AD #AD6539 #81AD39
monochromatic
#1B2151 #2A347F #3947AD #5A68C9 #8892D8

Accessibility & contrast

On white

7.84
#3947AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3947AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3947AD
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947AD#FFFFFF#000000##FFFFFF
##3947AD1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#004DAB
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3947ad;
/* rgb */ color: rgb(57, 71, 173);
/* oklch */ color: oklch(44.9% 0.162 272.2);
Tailwind
colors: {
  custom: {
    50: '#7d7ac6',
    500: '#3947ad',
    950: '#000000',
  },
}
SCSS
$custom: #3947ad;
$custom-light: #7d7ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3947ad",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 173
  },
  "hsl": {
    "h": 232.759,
    "s": 50.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44888,
    "c": 0.16231,
    "h": 272.2
  },
  "luminance": 0.08393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3947AD

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

Preview Lab → · Contrast checker → · Palette generator →

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