#3941BC#3941BC

#3941BC is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.1% C 0.190 H 273.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#3941BC
RGBrgb(57, 65, 188)
HSLhsl(236, 53%, 48%)
HSVhsv(236, 70%, 74%)
CMYKcmyk(69.7%, 65.4%, 0%, 26.3%)
CIE-LABlab(34.56, 37.36, -65.57)
CIE-LCHlch(34.56, 75.47, 299.68°)
OKLaboklab(45.11% 0.0102 -0.1894)
OKLCHoklch(45.11% 0.19 273.1)
XYZxyz(12.6517, 8.2801, 48.4987)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941BC #BCB439
analogous
#3982BC #3941BC #7239BC
triadic
#3941BC #BC3941 #41BC39
tetradic
#3941BC #BC3982 #BCB439 #39BC72
square
#3941BC #BC3982 #BCB439 #39BC72
split-complementary
#3941BC #BC7239 #82BC39
monochromatic
#1D215E #2B318D #3941BC #6369D0 #9296DE

Accessibility & contrast

On white

7.91
#3941BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3941BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941BC
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941BC#FFFFFF#000000##FFFFFF
##3941BC1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#006179
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3941bc;
/* rgb */ color: rgb(57, 65, 188);
/* oklch */ color: oklch(45.1% 0.190 273.1);
Tailwind
colors: {
  custom: {
    50: '#8176d1',
    500: '#3941bc',
    950: '#000000',
  },
}
SCSS
$custom: #3941bc;
$custom-light: #8176d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3941bc",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 236.336,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45107,
    "c": 0.18966,
    "h": 273.1
  },
  "luminance": 0.08281
}

Semantic roles & 50–950 ramp

primary
#3941BC
secondary
#C9C588
accent
#D44BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3941BC

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

Preview Lab → · Contrast checker → · Palette generator →

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