#3941B1#3941B1

#3941B1 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.1% C 0.175 H 273.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#3941B1
RGBrgb(57, 65, 177)
HSLhsl(236, 51%, 46%)
HSVhsv(236, 68%, 69%)
CMYKcmyk(67.8%, 63.3%, 0%, 30.6%)
CIE-LABlab(33.61, 33.53, -60.61)
CIE-LCHlch(33.61, 69.27, 298.95°)
OKLaboklab(44.12% 0.011 -0.1748)
OKLCHoklch(44.12% 0.175 273.6)
XYZxyz(11.5108, 7.8237, 42.4900)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941B1 #B1A939
analogous
#397DB1 #3941B1 #6D39B1
triadic
#3941B1 #B13941 #41B139
tetradic
#3941B1 #B1397D #B1A939 #39B16D
square
#3941B1 #B1397D #B1A939 #39B16D
split-complementary
#3941B1 #B16D39 #7DB139
monochromatic
#1B1F54 #2A3083 #3941B1 #5D64CB #8B90DA

Accessibility & contrast

On white

8.19
#3941B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3941B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941B1
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941B1#FFFFFF#000000##FFFFFF
##3941B11.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#004AAF
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3941b1;
/* rgb */ color: rgb(57, 65, 177);
/* oklch */ color: oklch(44.1% 0.175 273.6);
Tailwind
colors: {
  custom: {
    50: '#7f75c9',
    500: '#3941b1',
    950: '#000000',
  },
}
SCSS
$custom: #3941b1;
$custom-light: #7f75c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3941b1",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 236,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44122,
    "c": 0.17519,
    "h": 273.6
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#3941B1
secondary
#C4C082
accent
#D14DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3941B1

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

Preview Lab → · Contrast checker → · Palette generator →

#3941B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva