#3947BA#3947BA

#3947BA is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.180 H 271.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#3947BA
RGBrgb(57, 71, 186)
HSLhsl(233, 53%, 48%)
HSVhsv(233, 69%, 73%)
CMYKcmyk(69.4%, 61.8%, 0%, 27.1%)
CIE-LABlab(35.83, 32.88, -62.31)
CIE-LCHlch(35.83, 70.46, 297.82°)
OKLaboklab(45.99% 0.006 -0.1798)
OKLCHoklch(45.99% 0.18 271.9)
XYZxyz(12.8005, 8.9203, 47.4920)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947BA #BAAC39
analogous
#3988BA #3947BA #6B39BA
triadic
#3947BA #BA3947 #47BA39
tetradic
#3947BA #BA3988 #BAAC39 #39BA6B
square
#3947BA #BA3988 #BAAC39 #39BA6B
split-complementary
#3947BA #BA6B39 #88BA39
monochromatic
#1C235C #2B358B #3947BA #616DCF #9099DD

Accessibility & contrast

On white

7.54
#3947BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3947BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3947BA
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947BA#FFFFFF#000000##FFFFFF
##3947BA1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3947ba;
/* rgb */ color: rgb(57, 71, 186);
/* oklch */ color: oklch(46.0% 0.180 271.9);
Tailwind
colors: {
  custom: {
    50: '#807ad0',
    500: '#3947ba',
    950: '#000000',
  },
}
SCSS
$custom: #3947ba;
$custom-light: #807ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3947ba",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 233.488,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45986,
    "c": 0.17989,
    "h": 271.9
  },
  "luminance": 0.08922
}

Semantic roles & 50–950 ramp

primary
#3947BA
secondary
#C8C187
accent
#CD4BDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3947BA

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

Preview Lab → · Contrast checker → · Palette generator →

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