#3946D2#3946D2

#3946D2 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.0% C 0.212 H 271.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#3946D2
RGBrgb(57, 70, 210)
HSLhsl(235, 63%, 52%)
HSVhsv(235, 73%, 82%)
CMYKcmyk(72.9%, 66.7%, 0%, 17.6%)
CIE-LABlab(37.67, 41.89, -73.29)
CIE-LCHlch(37.67, 84.42, 299.75°)
OKLaboklab(47.97% 0.0052 -0.212)
OKLCHoklch(47.97% 0.212 271.4)
XYZxyz(15.5064, 9.9017, 62.0543)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946D2 #D2C539
analogous
#3993D2 #3946D2 #7939D2
triadic
#3946D2 #D23946 #46D239
tetradic
#3946D2 #D23993 #D2C539 #39D279
square
#3946D2 #D23993 #D2C539 #39D279
split-complementary
#3946D2 #D27939 #93D239
monochromatic
#1B2376 #2631A8 #3946D2 #6B75DD #9DA3E9

Accessibility & contrast

On white

7.05
#3946D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3946D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3946D2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946D2#FFFFFF#000000##FFFFFF
##3946D21.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0051CF
Tritanopia (blue-blind)
#006C86
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3946d2;
/* rgb */ color: rgb(57, 70, 210);
/* oklch */ color: oklch(48.0% 0.212 271.4);
Tailwind
colors: {
  custom: {
    50: '#857ae1',
    500: '#3946d2',
    950: '#000000',
  },
}
SCSS
$custom: #3946d2;
$custom-light: #857ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#3946d2",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 234.902,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47967,
    "c": 0.21202,
    "h": 271.4
  },
  "luminance": 0.09903
}

Semantic roles & 50–950 ramp

primary
#3946D2
secondary
#D5CF92
accent
#D842E6
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3946D2

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

Preview Lab → · Contrast checker → · Palette generator →

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