#3947B7#3947B7

#3947B7 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.176 H 272.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#3947B7
RGBrgb(57, 71, 183)
HSLhsl(233, 53%, 47%)
HSVhsv(233, 69%, 72%)
CMYKcmyk(68.9%, 61.2%, 0%, 28.2%)
CIE-LABlab(35.58, 31.82, -60.95)
CIE-LCHlch(35.58, 68.75, 297.57°)
OKLaboklab(45.73% 0.0061 -0.1758)
OKLCHoklch(45.73% 0.176 272)
XYZxyz(12.4849, 8.7940, 45.8300)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947B7 #B7A939
analogous
#3986B7 #3947B7 #6A39B7
triadic
#3947B7 #B73947 #47B739
tetradic
#3947B7 #B73986 #B7A939 #39B76A
square
#3947B7 #B73986 #B7A939 #39B76A
split-complementary
#3947B7 #B76A39 #86B739
monochromatic
#1C235A #2A3588 #3947B7 #606CCD #8E97DC

Accessibility & contrast

On white

7.61
#3947B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3947B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3947B7
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947B7#FFFFFF#000000##FFFFFF
##3947B71.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3947b7;
/* rgb */ color: rgb(57, 71, 183);
/* oklch */ color: oklch(45.7% 0.176 272.0);
Tailwind
colors: {
  custom: {
    50: '#7f7acd',
    500: '#3947b7',
    950: '#000000',
  },
}
SCSS
$custom: #3947b7;
$custom-light: #7f7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#3947b7",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 233.333,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45728,
    "c": 0.17588,
    "h": 272
  },
  "luminance": 0.08795
}

Semantic roles & 50–950 ramp

primary
#3947B7
secondary
#C7BF85
accent
#CC4CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3947B7

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

Preview Lab → · Contrast checker → · Palette generator →

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