#3947B1#3947B1

#3947B1 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.168 H 272.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3947B1
RGBrgb(57, 71, 177)
HSLhsl(233, 51%, 46%)
HSVhsv(233, 68%, 69%)
CMYKcmyk(67.8%, 59.9%, 0%, 30.6%)
CIE-LABlab(35.10, 29.68, -58.18)
CIE-LCHlch(35.10, 65.32, 297.03°)
OKLaboklab(45.22% 0.0062 -0.1677)
OKLCHoklch(45.22% 0.168 272.1)
XYZxyz(11.8737, 8.5496, 42.6109)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947B1 #B1A339
analogous
#3983B1 #3947B1 #6739B1
triadic
#3947B1 #B13947 #47B139
tetradic
#3947B1 #B13983 #B1A339 #39B167
square
#3947B1 #B13983 #B1A339 #39B167
split-complementary
#3947B1 #B16739 #83B139
monochromatic
#1B2254 #2A3483 #3947B1 #5D69CB #8B94DA

Accessibility & contrast

On white

7.75
#3947B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3947B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3947B1
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947B1#FFFFFF#000000##FFFFFF
##3947B11.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3947b1;
/* rgb */ color: rgb(57, 71, 177);
/* oklch */ color: oklch(45.2% 0.168 272.1);
Tailwind
colors: {
  custom: {
    50: '#7e7ac9',
    500: '#3947b1',
    950: '#000000',
  },
}
SCSS
$custom: #3947b1;
$custom-light: #7e7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#3947b1",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 177
  },
  "hsl": {
    "h": 233,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45221,
    "c": 0.16778,
    "h": 272.1
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#3947B1
secondary
#C4BC82
accent
#CA4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3947B1

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

Preview Lab → · Contrast checker → · Palette generator →

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