#3941B2#3941B2

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

Color values

HEX#3941B2
RGBrgb(57, 65, 178)
HSLhsl(236, 51%, 46%)
HSVhsv(236, 68%, 70%)
CMYKcmyk(68%, 63.5%, 0%, 30.2%)
CIE-LABlab(33.70, 33.88, -61.07)
CIE-LCHlch(33.70, 69.84, 299.02°)
OKLaboklab(44.21% 0.0109 -0.1762)
OKLCHoklch(44.21% 0.177 273.5)
XYZxyz(11.6108, 7.8637, 43.0168)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941B2 #B2AA39
analogous
#397DB2 #3941B2 #6D39B2
triadic
#3941B2 #B23941 #41B239
tetradic
#3941B2 #B2397D #B2AA39 #39B26D
square
#3941B2 #B2397D #B2AA39 #39B26D
split-complementary
#3941B2 #B26D39 #7DB239
monochromatic
#1B1F55 #2A3084 #3941B2 #5D64CB #8B91DA

Accessibility & contrast

On white

8.16
#3941B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3941B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3941B2#FFFFFF#000000##FFFFFF
##3941B21.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3941b2;
/* rgb */ color: rgb(57, 65, 178);
/* oklch */ color: oklch(44.2% 0.177 273.5);
Tailwind
colors: {
  custom: {
    50: '#7f75ca',
    500: '#3941b2',
    950: '#000000',
  },
}
SCSS
$custom: #3941b2;
$custom-light: #7f75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3941b2",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 236.033,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4421,
    "c": 0.17653,
    "h": 273.5
  },
  "luminance": 0.07865
}

Semantic roles & 50–950 ramp

primary
#3941B2
secondary
#C4C082
accent
#D24DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3941B2

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

Preview Lab → · Contrast checker → · Palette generator →

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