#3947B9#3947B9

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

Color values

HEX#3947B9
RGBrgb(57, 71, 185)
HSLhsl(233, 53%, 47%)
HSVhsv(233, 69%, 73%)
CMYKcmyk(69.2%, 61.6%, 0%, 27.5%)
CIE-LABlab(35.75, 32.53, -61.86)
CIE-LCHlch(35.75, 69.89, 297.74°)
OKLaboklab(45.9% 0.006 -0.1785)
OKLCHoklch(45.9% 0.179 271.9)
XYZxyz(12.6946, 8.8779, 46.9341)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947B9 #B9AB39
analogous
#3987B9 #3947B9 #6B39B9
triadic
#3947B9 #B93947 #47B939
tetradic
#3947B9 #B93987 #B9AB39 #39B96B
square
#3947B9 #B93987 #B9AB39 #39B96B
split-complementary
#3947B9 #B96B39 #87B939
monochromatic
#1C235B #2B358A #3947B9 #616DCE #9098DD

Accessibility & contrast

On white

7.57
#3947B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3947B9
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947B9#FFFFFF#000000##FFFFFF
##3947B91.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3947b9;
/* rgb */ color: rgb(57, 71, 185);
/* oklch */ color: oklch(45.9% 0.179 271.9);
Tailwind
colors: {
  custom: {
    50: '#807acf',
    500: '#3947b9',
    950: '#000000',
  },
}
SCSS
$custom: #3947b9;
$custom-light: #807acf;
$custom-dark: #000000;
JSON
{
  "hex": "#3947b9",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 185
  },
  "hsl": {
    "h": 233.438,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.459,
    "c": 0.17856,
    "h": 271.9
  },
  "luminance": 0.08879
}

Semantic roles & 50–950 ramp

primary
#3947B9
secondary
#C8C086
accent
#CC4BDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3947B9

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

Preview Lab → · Contrast checker → · Palette generator →

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