#3941A4#3941A4

#3941A4 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.158 H 274.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#3941A4
RGBrgb(57, 65, 164)
HSLhsl(236, 48%, 43%)
HSVhsv(236, 65%, 64%)
CMYKcmyk(65.2%, 60.4%, 0%, 35.7%)
CIE-LABlab(32.55, 28.95, -54.58)
CIE-LCHlch(32.55, 61.78, 297.94°)
OKLaboklab(43% 0.0115 -0.1571)
OKLCHoklch(43% 0.158 274.2)
XYZxyz(10.2763, 7.3299, 35.9880)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941A4 #A49C39
analogous
#3976A4 #3941A4 #6639A4
triadic
#3941A4 #A43941 #41A439
tetradic
#3941A4 #A43976 #A49C39 #39A466
square
#3941A4 #A43976 #A49C39 #39A466
split-complementary
#3941A4 #A46639 #76A439
monochromatic
#191D49 #292F77 #3941A4 #565EC4 #8389D4

Accessibility & contrast

On white

8.52
#3941A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3941A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941A4
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941A4#FFFFFF#000000##FFFFFF
##3941A41.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3941a4;
/* rgb */ color: rgb(57, 65, 164);
/* oklch */ color: oklch(43.0% 0.158 274.2);
Tailwind
colors: {
  custom: {
    50: '#7c75c0',
    500: '#3941a4',
    950: '#000000',
  },
}
SCSS
$custom: #3941a4;
$custom-light: #7c75c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3941a4",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 164
  },
  "hsl": {
    "h": 235.514,
    "s": 48.416,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43003,
    "c": 0.15756,
    "h": 274.2
  },
  "luminance": 0.07331
}

Semantic roles & 50–950 ramp

primary
#3941A4
secondary
#BEB97B
accent
#CE50D8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3941A4

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

Preview Lab → · Contrast checker → · Palette generator →

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