#3941A1#3941A1

#3941A1 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.153 H 274.3°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#3941A1
RGBrgb(57, 65, 161)
HSLhsl(235, 48%, 43%)
HSVhsv(235, 65%, 63%)
CMYKcmyk(64.6%, 59.6%, 0%, 36.9%)
CIE-LABlab(32.31, 27.88, -53.16)
CIE-LCHlch(32.31, 60.03, 297.68°)
OKLaboklab(42.75% 0.0115 -0.153)
OKLCHoklch(42.75% 0.153 274.3)
XYZxyz(10.0085, 7.2228, 34.5780)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941A1 #A19939
analogous
#3975A1 #3941A1 #6539A1
triadic
#3941A1 #A13941 #41A139
tetradic
#3941A1 #A13975 #A19939 #39A165
square
#3941A1 #A13975 #A19939 #39A165
split-complementary
#3941A1 #A16539 #75A139
monochromatic
#191D47 #292F74 #3941A1 #555DC3 #8288D3

Accessibility & contrast

On white

8.59
#3941A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3941A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941A1
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941A1#FFFFFF#000000##FFFFFF
##3941A11.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3941a1;
/* rgb */ color: rgb(57, 65, 161);
/* oklch */ color: oklch(42.8% 0.153 274.3);
Tailwind
colors: {
  custom: {
    50: '#7b75be',
    500: '#3941a1',
    950: '#000000',
  },
}
SCSS
$custom: #3941a1;
$custom-light: #7b75be;
$custom-dark: #000000;
JSON
{
  "hex": "#3941a1",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 161
  },
  "hsl": {
    "h": 235.385,
    "s": 47.706,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42753,
    "c": 0.15339,
    "h": 274.3
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#3941A1
secondary
#BCB779
accent
#CD50D7
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3941A1

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

Preview Lab → · Contrast checker → · Palette generator →

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