#3941AA#3941AA

#3941AA is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.166 H 273.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#3941AA
RGBrgb(57, 65, 170)
HSLhsl(236, 50%, 45%)
HSVhsv(236, 66%, 67%)
CMYKcmyk(66.5%, 61.8%, 0%, 33.3%)
CIE-LABlab(33.03, 31.06, -57.39)
CIE-LCHlch(33.03, 65.26, 298.43°)
OKLaboklab(43.51% 0.0113 -0.1654)
OKLCHoklch(43.51% 0.166 273.9)
XYZxyz(10.8309, 7.5518, 38.9093)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941AA #AAA239
analogous
#397AAA #3941AA #6A39AA
triadic
#3941AA #AA3941 #41AA39
tetradic
#3941AA #AA397A #AAA239 #39AA6A
square
#3941AA #AA397A #AAA239 #39AA6A
split-complementary
#3941AA #AA6A39 #7AAA39
monochromatic
#1A1E4E #2A2F7C #3941AA #5961C7 #878CD7

Accessibility & contrast

On white

8.36
#3941AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3941AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3941AA#FFFFFF#000000##FFFFFF
##3941AA1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3941aa;
/* rgb */ color: rgb(57, 65, 170);
/* oklch */ color: oklch(43.5% 0.166 273.9);
Tailwind
colors: {
  custom: {
    50: '#7d75c4',
    500: '#3941aa',
    950: '#000000',
  },
}
SCSS
$custom: #3941aa;
$custom-light: #7d75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3941aa",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 235.752,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43513,
    "c": 0.16577,
    "h": 273.9
  },
  "luminance": 0.07553
}

Semantic roles & 50–950 ramp

primary
#3941AA
secondary
#C1BC7E
accent
#CF4ED9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3941AA

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

Preview Lab → · Contrast checker → · Palette generator →

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