#3941BA#3941BA

#3941BA is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.9% C 0.187 H 273.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#3941BA
RGBrgb(57, 65, 186)
HSLhsl(236, 53%, 48%)
HSVhsv(236, 69%, 73%)
CMYKcmyk(69.4%, 65.1%, 0%, 27.1%)
CIE-LABlab(34.38, 36.67, -64.68)
CIE-LCHlch(34.38, 74.35, 299.55°)
OKLaboklab(44.93% 0.0104 -0.1868)
OKLCHoklch(44.93% 0.187 273.2)
XYZxyz(12.4376, 8.1944, 47.3711)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941BA #BAB239
analogous
#3981BA #3941BA #7139BA
triadic
#3941BA #BA3941 #41BA39
tetradic
#3941BA #BA3981 #BAB239 #39BA71
square
#3941BA #BA3981 #BAB239 #39BA71
split-complementary
#3941BA #BA7139 #81BA39
monochromatic
#1C205C #2B318B #3941BA #6168CF #9095DD

Accessibility & contrast

On white

7.96
#3941BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3941BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3941BA#FFFFFF#000000##FFFFFF
##3941BA1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3941ba;
/* rgb */ color: rgb(57, 65, 186);
/* oklch */ color: oklch(44.9% 0.187 273.2);
Tailwind
colors: {
  custom: {
    50: '#8076d0',
    500: '#3941ba',
    950: '#000000',
  },
}
SCSS
$custom: #3941ba;
$custom-light: #8076d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3941ba",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 236.279,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44925,
    "c": 0.18706,
    "h": 273.2
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#3941BA
secondary
#C8C487
accent
#D34BDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3941BA

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

Preview Lab → · Contrast checker → · Palette generator →

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