#3941BE#3941BE

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

Color values

HEX#3941BE
RGBrgb(57, 65, 190)
HSLhsl(236, 54%, 48%)
HSVhsv(236, 70%, 75%)
CMYKcmyk(70%, 65.8%, 0%, 25.5%)
CIE-LABlab(34.74, 38.06, -66.46)
CIE-LCHlch(34.74, 76.58, 299.80°)
OKLaboklab(45.29% 0.0101 -0.192)
OKLCHoklch(45.29% 0.192 273)
XYZxyz(12.8688, 8.3669, 49.6420)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941BE #BEB639
analogous
#3983BE #3941BE #7339BE
triadic
#3941BE #BE3941 #41BE39
tetradic
#3941BE #BE3983 #BEB639 #39BE73
square
#3941BE #BE3983 #BEB639 #39BE73
split-complementary
#3941BE #BE7339 #83BE39
monochromatic
#1D2160 #2B318F #3941BE #646AD0 #9397DF

Accessibility & contrast

On white

7.85
#3941BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3941BE
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941BE#FFFFFF#000000##FFFFFF
##3941BE1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3941be;
/* rgb */ color: rgb(57, 65, 190);
/* oklch */ color: oklch(45.3% 0.192 273.0);
Tailwind
colors: {
  custom: {
    50: '#8176d3',
    500: '#3941be',
    950: '#000000',
  },
}
SCSS
$custom: #3941be;
$custom-light: #8176d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3941be",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 236.391,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45289,
    "c": 0.19224,
    "h": 273
  },
  "luminance": 0.08368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3941BE

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

Preview Lab → · Contrast checker → · Palette generator →

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