#3941B4#3941B4

#3941B4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.4% C 0.179 H 273.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#3941B4
RGBrgb(57, 65, 180)
HSLhsl(236, 52%, 46%)
HSVhsv(236, 68%, 71%)
CMYKcmyk(68.3%, 63.9%, 0%, 29.4%)
CIE-LABlab(33.87, 34.58, -61.98)
CIE-LCHlch(33.87, 70.97, 299.16°)
OKLaboklab(44.39% 0.0108 -0.1788)
OKLCHoklch(44.39% 0.179 273.5)
XYZxyz(11.8131, 7.9446, 44.0821)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941B4 #B4AC39
analogous
#397FB4 #3941B4 #6F39B4
triadic
#3941B4 #B43941 #41B439
tetradic
#3941B4 #B4397F #B4AC39 #39B46F
square
#3941B4 #B4397F #B4AC39 #39B46F
split-complementary
#3941B4 #B46F39 #7FB439
monochromatic
#1C1F57 #2A3086 #3941B4 #5E65CC #8D92DB

Accessibility & contrast

On white

8.11
#3941B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3941B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3941B4#FFFFFF#000000##FFFFFF
##3941B41.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3941b4;
/* rgb */ color: rgb(57, 65, 180);
/* oklch */ color: oklch(44.4% 0.179 273.5);
Tailwind
colors: {
  custom: {
    50: '#7f76cb',
    500: '#3941b4',
    950: '#000000',
  },
}
SCSS
$custom: #3941b4;
$custom-light: #7f76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3941b4",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 236.098,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44387,
    "c": 0.17918,
    "h": 273.5
  },
  "luminance": 0.07946
}

Semantic roles & 50–950 ramp

primary
#3941B4
secondary
#C5C183
accent
#D24CDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3941B4

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

Preview Lab → · Contrast checker → · Palette generator →

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