#3941BF#3941BF

#3941BF is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.4% C 0.194 H 273.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#3941BF
RGBrgb(57, 65, 191)
HSLhsl(236, 54%, 49%)
HSVhsv(236, 70%, 75%)
CMYKcmyk(70.2%, 66%, 0%, 25.1%)
CIE-LABlab(34.82, 38.40, -66.90)
CIE-LCHlch(34.82, 77.14, 299.86°)
OKLaboklab(45.38% 0.01 -0.1933)
OKLCHoklch(45.38% 0.194 273)
XYZxyz(12.9785, 8.4108, 50.2196)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941BF #BFB739
analogous
#3984BF #3941BF #7439BF
triadic
#3941BF #BF3941 #41BF39
tetradic
#3941BF #BF3984 #BFB739 #39BF74
square
#3941BF #BF3984 #BFB739 #39BF74
split-complementary
#3941BF #BF7439 #84BF39
monochromatic
#1D2161 #2B3190 #3941BF #646BD1 #9398DF

Accessibility & contrast

On white

7.83
#3941BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3941BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941BF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941BF#FFFFFF#000000##FFFFFF
##3941BF1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#004CBD
Tritanopia (blue-blind)
#00627A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3941bf;
/* rgb */ color: rgb(57, 65, 191);
/* oklch */ color: oklch(45.4% 0.194 273.0);
Tailwind
colors: {
  custom: {
    50: '#8276d3',
    500: '#3941bf',
    950: '#000000',
  },
}
SCSS
$custom: #3941bf;
$custom-light: #8276d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3941bf",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 236.418,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45381,
    "c": 0.19353,
    "h": 273
  },
  "luminance": 0.08412
}

Semantic roles & 50–950 ramp

primary
#3941BF
secondary
#CAC68A
accent
#D54ADD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3941BF

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

Preview Lab → · Contrast checker → · Palette generator →

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