#3946E2#3946E2

#3946E2 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.5% C 0.232 H 270.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#3946E2
RGBrgb(57, 70, 226)
HSLhsl(235, 74%, 55%)
HSVhsv(235, 75%, 89%)
CMYKcmyk(74.8%, 69%, 0%, 11.4%)
CIE-LABlab(39.14, 47.33, -80.05)
CIE-LCHlch(39.14, 92.99, 300.59°)
OKLaboklab(49.48% 0.0036 -0.2317)
OKLCHoklch(49.48% 0.232 270.9)
XYZxyz(17.6003, 10.7393, 73.0821)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3946E2 #E2D539
analogous
#399AE2 #3946E2 #8139E2
triadic
#3946E2 #E23946 #46E239
tetradic
#3946E2 #E2399A #E2D539 #39E281
square
#3946E2 #E2399A #E2D539 #39E281
split-complementary
#3946E2 #E28139 #9AE239
monochromatic
#151E8C #1C29C1 #3946E2 #6E78EA #A4AAF2

Accessibility & contrast

On white

6.67
#3946E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3946E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3946E2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3946E2#FFFFFF#000000##FFFFFF
##3946E21.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E7
Deuteranopia (green-blind)
#0054DF
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3946e2;
/* rgb */ color: rgb(57, 70, 226);
/* oklch */ color: oklch(49.5% 0.232 270.9);
Tailwind
colors: {
  custom: {
    50: '#897aec',
    500: '#3946e2',
    950: '#000000',
  },
}
SCSS
$custom: #3946e2;
$custom-light: #897aec;
$custom-dark: #000000;
JSON
{
  "hex": "#3946e2",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 226
  },
  "hsl": {
    "h": 235.385,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.4948,
    "c": 0.23171,
    "h": 270.9
  },
  "luminance": 0.10741
}

Semantic roles & 50–950 ramp

primary
#3946E2
secondary
#DFD998
accent
#E337F1
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #3946E2

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

Preview Lab → · Contrast checker → · Palette generator →

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