#3941A5#3941A5

#3941A5 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.159 H 274.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#3941A5
RGBrgb(57, 65, 165)
HSLhsl(236, 49%, 44%)
HSVhsv(236, 65%, 65%)
CMYKcmyk(65.5%, 60.6%, 0%, 35.3%)
CIE-LABlab(32.63, 29.30, -55.05)
CIE-LCHlch(32.63, 62.36, 298.02°)
OKLaboklab(43.09% 0.0114 -0.1585)
OKLCHoklch(43.09% 0.159 274.1)
XYZxyz(10.3669, 7.3662, 36.4655)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941A5 #A59D39
analogous
#3977A5 #3941A5 #6739A5
triadic
#3941A5 #A53941 #41A539
tetradic
#3941A5 #A53977 #A59D39 #39A567
square
#3941A5 #A53977 #A59D39 #39A567
split-complementary
#3941A5 #A56739 #77A539
monochromatic
#1A1D4A #292F78 #3941A5 #565FC5 #848AD4

Accessibility & contrast

On white

8.49
#3941A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3941A5
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941A5#FFFFFF#000000##FFFFFF
##3941A51.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3941a5;
/* rgb */ color: rgb(57, 65, 165);
/* oklch */ color: oklch(43.1% 0.159 274.1);
Tailwind
colors: {
  custom: {
    50: '#7c75c0',
    500: '#3941a5',
    950: '#000000',
  },
}
SCSS
$custom: #3941a5;
$custom-light: #7c75c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3941a5",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 165
  },
  "hsl": {
    "h": 235.556,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43087,
    "c": 0.15893,
    "h": 274.1
  },
  "luminance": 0.07367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3941A5

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

Preview Lab → · Contrast checker → · Palette generator →

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