#3941C2#3941C2

#3941C2 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.7% C 0.197 H 272.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3941C2
RGBrgb(57, 65, 194)
HSLhsl(236, 55%, 49%)
HSVhsv(236, 71%, 76%)
CMYKcmyk(70.6%, 66.5%, 0%, 23.9%)
CIE-LABlab(35.09, 39.44, -68.22)
CIE-LCHlch(35.09, 78.80, 300.03°)
OKLaboklab(45.66% 0.0097 -0.1971)
OKLCHoklch(45.66% 0.197 272.8)
XYZxyz(13.3120, 8.5442, 51.9761)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941C2 #C2BA39
analogous
#3986C2 #3941C2 #7539C2
triadic
#3941C2 #C23941 #41C239
tetradic
#3941C2 #C23986 #C2BA39 #39C275
square
#3941C2 #C23986 #C2BA39 #39C275
split-complementary
#3941C2 #C27539 #86C239
monochromatic
#1D2163 #2B3193 #3941C2 #666CD2 #959AE0

Accessibility & contrast

On white

7.75
#3941C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3941C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941C2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941C2#FFFFFF#000000##FFFFFF
##3941C21.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3941c2;
/* rgb */ color: rgb(57, 65, 194);
/* oklch */ color: oklch(45.7% 0.197 272.8);
Tailwind
colors: {
  custom: {
    50: '#8276d6',
    500: '#3941c2',
    950: '#000000',
  },
}
SCSS
$custom: #3941c2;
$custom-light: #8276d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3941c2",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 236.496,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45657,
    "c": 0.19738,
    "h": 272.8
  },
  "luminance": 0.08545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3941C2

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

Preview Lab → · Contrast checker → · Palette generator →

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