#3946BA#3946BA

#3946BA is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.8% C 0.181 H 272.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#3946BA
RGBrgb(57, 70, 186)
HSLhsl(234, 53%, 48%)
HSVhsv(234, 69%, 73%)
CMYKcmyk(69.4%, 62.4%, 0%, 27.1%)
CIE-LABlab(35.58, 33.52, -62.71)
CIE-LCHlch(35.58, 71.11, 298.12°)
OKLaboklab(45.81% 0.0067 -0.181)
OKLCHoklch(45.81% 0.181 272.1)
XYZxyz(12.7374, 8.7941, 47.4710)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946BA #BAAD39
analogous
#3987BA #3946BA #6C39BA
triadic
#3946BA #BA3946 #46BA39
tetradic
#3946BA #BA3987 #BAAD39 #39BA6C
square
#3946BA #BA3987 #BAAD39 #39BA6C
split-complementary
#3946BA #BA6C39 #87BA39
monochromatic
#1C235C #2B348B #3946BA #616CCF #9098DD

Accessibility & contrast

On white

7.61
#3946BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3946BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946BA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946BA#FFFFFF#000000##FFFFFF
##3946BA1.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)
#005ABE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3946ba;
/* rgb */ color: rgb(57, 70, 186);
/* oklch */ color: oklch(45.8% 0.181 272.1);
Tailwind
colors: {
  custom: {
    50: '#8079d0',
    500: '#3946ba',
    950: '#000000',
  },
}
SCSS
$custom: #3946ba;
$custom-light: #8079d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3946ba",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 233.953,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45805,
    "c": 0.18111,
    "h": 272.1
  },
  "luminance": 0.08795
}

Semantic roles & 50–950 ramp

primary
#3946BA
secondary
#C8C187
accent
#CE4BDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3946BA

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

Preview Lab → · Contrast checker → · Palette generator →

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