#3941AB#3941AB

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

Color values

HEX#3941AB
RGBrgb(57, 65, 171)
HSLhsl(236, 50%, 45%)
HSVhsv(236, 67%, 67%)
CMYKcmyk(66.7%, 62%, 0%, 32.9%)
CIE-LABlab(33.11, 31.42, -57.85)
CIE-LCHlch(33.11, 65.83, 298.50°)
OKLaboklab(43.6% 0.0113 -0.1667)
OKLCHoklch(43.6% 0.167 273.9)
XYZxyz(10.9259, 7.5898, 39.4094)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941AB #ABA339
analogous
#397AAB #3941AB #6A39AB
triadic
#3941AB #AB3941 #41AB39
tetradic
#3941AB #AB397A #ABA339 #39AB6A
square
#3941AB #AB397A #ABA339 #39AB6A
split-complementary
#3941AB #AB6A39 #7AAB39
monochromatic
#1A1E4F #2A307D #3941AB #5961C8 #878DD7

Accessibility & contrast

On white

8.34
#3941AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3941AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3941AB#FFFFFF#000000##FFFFFF
##3941AB1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3941ab;
/* rgb */ color: rgb(57, 65, 171);
/* oklch */ color: oklch(43.6% 0.167 273.9);
Tailwind
colors: {
  custom: {
    50: '#7d75c5',
    500: '#3941ab',
    950: '#000000',
  },
}
SCSS
$custom: #3941ab;
$custom-light: #7d75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3941ab",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 235.789,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43599,
    "c": 0.16713,
    "h": 273.9
  },
  "luminance": 0.07591
}

Semantic roles & 50–950 ramp

primary
#3941AB
secondary
#C1BD7F
accent
#D04EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3941AB

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

Preview Lab → · Contrast checker → · Palette generator →

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