#3941C1#3941C1

#3941C1 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.6% C 0.196 H 272.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#3941C1
RGBrgb(57, 65, 193)
HSLhsl(236, 54%, 49%)
HSVhsv(236, 70%, 76%)
CMYKcmyk(70.5%, 66.3%, 0%, 24.3%)
CIE-LABlab(35.00, 39.09, -67.78)
CIE-LCHlch(35.00, 78.25, 299.98°)
OKLaboklab(45.57% 0.0098 -0.1958)
OKLCHoklch(45.57% 0.196 272.9)
XYZxyz(13.2000, 8.4994, 51.3866)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941C1 #C1B939
analogous
#3985C1 #3941C1 #7539C1
triadic
#3941C1 #C13941 #41C139
tetradic
#3941C1 #C13985 #C1B939 #39C175
square
#3941C1 #C13985 #C1B939 #39C175
split-complementary
#3941C1 #C17539 #85C139
monochromatic
#1D2163 #2B3192 #3941C1 #666CD2 #9599E0

Accessibility & contrast

On white

7.78
#3941C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3941C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941C1
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941C1#FFFFFF#000000##FFFFFF
##3941C11.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#004CBF
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3941c1;
/* rgb */ color: rgb(57, 65, 193);
/* oklch */ color: oklch(45.6% 0.196 272.9);
Tailwind
colors: {
  custom: {
    50: '#8276d5',
    500: '#3941c1',
    950: '#000000',
  },
}
SCSS
$custom: #3941c1;
$custom-light: #8276d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3941c1",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 193
  },
  "hsl": {
    "h": 236.471,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45565,
    "c": 0.1961,
    "h": 272.9
  },
  "luminance": 0.08501
}

Semantic roles & 50–950 ramp

primary
#3941C1
secondary
#CBC78B
accent
#D54ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3941C1

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

Preview Lab → · Contrast checker → · Palette generator →

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