#3946BC#3946BC

#3946BC is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.184 H 272.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#3946BC
RGBrgb(57, 70, 188)
HSLhsl(234, 53%, 48%)
HSVhsv(234, 70%, 74%)
CMYKcmyk(69.7%, 62.8%, 0%, 26.3%)
CIE-LABlab(35.75, 34.23, -63.62)
CIE-LCHlch(35.75, 72.24, 298.28°)
OKLaboklab(45.98% 0.0067 -0.1836)
OKLCHoklch(45.98% 0.184 272.1)
XYZxyz(12.9515, 8.8798, 48.5986)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946BC #BCAF39
analogous
#3987BC #3946BC #6E39BC
triadic
#3946BC #BC3946 #46BC39
tetradic
#3946BC #BC3987 #BCAF39 #39BC6E
square
#3946BC #BC3987 #BCAF39 #39BC6E
split-complementary
#3946BC #BC6E39 #87BC39
monochromatic
#1D235E #2B358D #3946BC #636DD0 #9299DE

Accessibility & contrast

On white

7.56
#3946BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3946BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946BC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946BC#FFFFFF#000000##FFFFFF
##3946BC1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3946bc;
/* rgb */ color: rgb(57, 70, 188);
/* oklch */ color: oklch(46.0% 0.184 272.1);
Tailwind
colors: {
  custom: {
    50: '#8079d1',
    500: '#3946bc',
    950: '#000000',
  },
}
SCSS
$custom: #3946bc;
$custom-light: #8079d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3946bc",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 234.046,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4598,
    "c": 0.18375,
    "h": 272.1
  },
  "luminance": 0.08881
}

Semantic roles & 50–950 ramp

primary
#3946BC
secondary
#C9C288
accent
#CE4BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3946BC

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

Preview Lab → · Contrast checker → · Palette generator →

#3946BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva