#3941B9#3941B9

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

Color values

HEX#3941B9
RGBrgb(57, 65, 185)
HSLhsl(236, 53%, 47%)
HSVhsv(236, 69%, 73%)
CMYKcmyk(69.2%, 64.9%, 0%, 27.5%)
CIE-LABlab(34.30, 36.32, -64.23)
CIE-LCHlch(34.30, 73.79, 299.49°)
OKLaboklab(44.84% 0.0105 -0.1855)
OKLCHoklch(44.84% 0.186 273.2)
XYZxyz(12.3317, 8.1521, 46.8132)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941B9 #B9B139
analogous
#3981B9 #3941B9 #7139B9
triadic
#3941B9 #B93941 #41B939
tetradic
#3941B9 #B93981 #B9B139 #39B971
square
#3941B9 #B93981 #B9B139 #39B971
split-complementary
#3941B9 #B97139 #81B939
monochromatic
#1C205B #2B318A #3941B9 #6168CE #9095DD

Accessibility & contrast

On white

7.98
#3941B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3941B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941B9
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941B9#FFFFFF#000000##FFFFFF
##3941B91.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#004BB7
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3941b9;
/* rgb */ color: rgb(57, 65, 185);
/* oklch */ color: oklch(44.8% 0.186 273.2);
Tailwind
colors: {
  custom: {
    50: '#8076cf',
    500: '#3941b9',
    950: '#000000',
  },
}
SCSS
$custom: #3941b9;
$custom-light: #8076cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3941b9",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 236.25,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44835,
    "c": 0.18576,
    "h": 273.2
  },
  "luminance": 0.08153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3941B9

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

Preview Lab → · Contrast checker → · Palette generator →

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