#3947B3#3947B3

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

Color values

HEX#3947B3
RGBrgb(57, 71, 179)
HSLhsl(233, 52%, 46%)
HSVhsv(233, 68%, 70%)
CMYKcmyk(68.2%, 60.3%, 0%, 29.8%)
CIE-LABlab(35.26, 30.40, -59.11)
CIE-LCHlch(35.26, 66.47, 297.21°)
OKLaboklab(45.39% 0.0061 -0.1704)
OKLCHoklch(45.39% 0.171 272.1)
XYZxyz(12.0745, 8.6299, 43.6685)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947B3 #B3A539
analogous
#3984B3 #3947B3 #6839B3
triadic
#3947B3 #B33947 #47B339
tetradic
#3947B3 #B33984 #B3A539 #39B368
square
#3947B3 #B33984 #B3A539 #39B368
split-complementary
#3947B3 #B36839 #84B339
monochromatic
#1B2256 #2A3585 #3947B3 #5E6ACC #8C95DA

Accessibility & contrast

On white

7.70
#3947B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3947B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3947B3
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947B3#FFFFFF#000000##FFFFFF
##3947B31.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3947b3;
/* rgb */ color: rgb(57, 71, 179);
/* oklch */ color: oklch(45.4% 0.171 272.1);
Tailwind
colors: {
  custom: {
    50: '#7e7acb',
    500: '#3947b3',
    950: '#000000',
  },
}
SCSS
$custom: #3947b3;
$custom-light: #7e7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3947b3",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 179
  },
  "hsl": {
    "h": 233.115,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45389,
    "c": 0.1705,
    "h": 272.1
  },
  "luminance": 0.08631
}

Semantic roles & 50–950 ramp

primary
#3947B3
secondary
#C5BD83
accent
#CB4DDB
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3947B3

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

Preview Lab → · Contrast checker → · Palette generator →

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