#3946BE#3946BE

#3946BE is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.2% C 0.186 H 272.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#3946BE
RGBrgb(57, 70, 190)
HSLhsl(234, 54%, 48%)
HSVhsv(234, 70%, 75%)
CMYKcmyk(70%, 63.2%, 0%, 25.5%)
CIE-LABlab(35.92, 34.93, -64.52)
CIE-LCHlch(35.92, 73.37, 298.43°)
OKLaboklab(46.16% 0.0066 -0.1863)
OKLCHoklch(46.16% 0.186 272)
XYZxyz(13.1686, 8.9666, 49.7419)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946BE #BEB139
analogous
#3988BE #3946BE #6E39BE
triadic
#3946BE #BE3946 #46BE39
tetradic
#3946BE #BE3988 #BEB139 #39BE6E
square
#3946BE #BE3988 #BEB139 #39BE6E
split-complementary
#3946BE #BE6E39 #88BE39
monochromatic
#1D2360 #2B358F #3946BE #646ED0 #939ADF

Accessibility & contrast

On white

7.52
#3946BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3946BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946BE
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946BE#FFFFFF#000000##FFFFFF
##3946BE1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3946be;
/* rgb */ color: rgb(57, 70, 190);
/* oklch */ color: oklch(46.2% 0.186 272.0);
Tailwind
colors: {
  custom: {
    50: '#8179d3',
    500: '#3946be',
    950: '#000000',
  },
}
SCSS
$custom: #3946be;
$custom-light: #8179d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3946be",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 234.135,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46156,
    "c": 0.18639,
    "h": 272
  },
  "luminance": 0.08968
}

Semantic roles & 50–950 ramp

primary
#3946BE
secondary
#CAC389
accent
#CF4BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3946BE

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

Preview Lab → · Contrast checker → · Palette generator →

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