#3946C0#3946C0

#3946C0 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.3% C 0.189 H 272.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#3946C0
RGBrgb(57, 70, 192)
HSLhsl(234, 54%, 49%)
HSVhsv(234, 70%, 75%)
CMYKcmyk(70.3%, 63.5%, 0%, 24.7%)
CIE-LABlab(36.09, 35.64, -65.41)
CIE-LCHlch(36.09, 74.49, 298.58°)
OKLaboklab(46.33% 0.0065 -0.1889)
OKLCHoklch(46.33% 0.189 272)
XYZxyz(13.3887, 9.0546, 50.9011)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946C0 #C0B339
analogous
#398AC0 #3946C0 #7039C0
triadic
#3946C0 #C03946 #46C039
tetradic
#3946C0 #C0398A #C0B339 #39C070
square
#3946C0 #C0398A #C0B339 #39C070
split-complementary
#3946C0 #C07039 #8AC039
monochromatic
#1D2462 #2B3591 #3946C0 #656FD1 #949BDF

Accessibility & contrast

On white

7.47
#3946C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3946C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946C0
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946C0#FFFFFF#000000##FFFFFF
##3946C01.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#004FBE
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3946c0;
/* rgb */ color: rgb(57, 70, 192);
/* oklch */ color: oklch(46.3% 0.189 272.0);
Tailwind
colors: {
  custom: {
    50: '#8179d4',
    500: '#3946c0',
    950: '#000000',
  },
}
SCSS
$custom: #3946c0;
$custom-light: #8179d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3946c0",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 192
  },
  "hsl": {
    "h": 234.222,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46332,
    "c": 0.189,
    "h": 272
  },
  "luminance": 0.09056
}

Semantic roles & 50–950 ramp

primary
#3946C0
secondary
#CBC48A
accent
#CF4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3946C0

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

Preview Lab → · Contrast checker → · Palette generator →

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