#3941AE#3941AE

#3941AE is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.171 H 273.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#3941AE
RGBrgb(57, 65, 174)
HSLhsl(236, 51%, 45%)
HSVhsv(236, 67%, 68%)
CMYKcmyk(67.2%, 62.6%, 0%, 31.8%)
CIE-LABlab(33.36, 32.47, -59.24)
CIE-LCHlch(33.36, 67.56, 298.73°)
OKLaboklab(43.86% 0.0111 -0.1708)
OKLCHoklch(43.86% 0.171 273.7)
XYZxyz(11.2151, 7.7054, 40.9325)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941AE #AEA639
analogous
#397CAE #3941AE #6B39AE
triadic
#3941AE #AE3941 #41AE39
tetradic
#3941AE #AE397C #AEA639 #39AE6B
square
#3941AE #AE397C #AEA639 #39AE6B
split-complementary
#3941AE #AE6B39 #7CAE39
monochromatic
#1B1F52 #2A3080 #3941AE #5B62C9 #898ED8

Accessibility & contrast

On white

8.26
#3941AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3941AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3941AE#FFFFFF#000000##FFFFFF
##3941AE1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3941ae;
/* rgb */ color: rgb(57, 65, 174);
/* oklch */ color: oklch(43.9% 0.171 273.7);
Tailwind
colors: {
  custom: {
    50: '#7e75c7',
    500: '#3941ae',
    950: '#000000',
  },
}
SCSS
$custom: #3941ae;
$custom-light: #7e75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3941ae",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 235.897,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43859,
    "c": 0.17118,
    "h": 273.7
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#3941AE
secondary
#C3BE80
accent
#D14EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3941AE

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

Preview Lab → · Contrast checker → · Palette generator →

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