#3941BD#3941BD

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

Color values

HEX#3941BD
RGBrgb(57, 65, 189)
HSLhsl(236, 54%, 48%)
HSVhsv(236, 70%, 74%)
CMYKcmyk(69.8%, 65.6%, 0%, 25.9%)
CIE-LABlab(34.65, 37.71, -66.01)
CIE-LCHlch(34.65, 76.03, 299.74°)
OKLaboklab(45.2% 0.0102 -0.1907)
OKLCHoklch(45.2% 0.191 273.1)
XYZxyz(12.7599, 8.3233, 49.0684)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941BD #BDB539
analogous
#3983BD #3941BD #7339BD
triadic
#3941BD #BD3941 #41BD39
tetradic
#3941BD #BD3983 #BDB539 #39BD73
square
#3941BD #BD3983 #BDB539 #39BD73
split-complementary
#3941BD #BD7339 #83BD39
monochromatic
#1D215F #2B318E #3941BD #636AD0 #9297DE

Accessibility & contrast

On white

7.88
#3941BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3941BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941BD
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941BD#FFFFFF#000000##FFFFFF
##3941BD1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#004BBB
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3941bd;
/* rgb */ color: rgb(57, 65, 189);
/* oklch */ color: oklch(45.2% 0.191 273.1);
Tailwind
colors: {
  custom: {
    50: '#8176d2',
    500: '#3941bd',
    950: '#000000',
  },
}
SCSS
$custom: #3941bd;
$custom-light: #8176d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3941bd",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 236.364,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45198,
    "c": 0.19095,
    "h": 273.1
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3941BD

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

Preview Lab → · Contrast checker → · Palette generator →

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