#3941C4#3941C4

#3941C4 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.8% C 0.200 H 272.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#3941C4
RGBrgb(57, 65, 196)
HSLhsl(237, 55%, 50%)
HSVhsv(237, 71%, 77%)
CMYKcmyk(70.9%, 66.8%, 0%, 23.1%)
CIE-LABlab(35.27, 40.13, -69.09)
CIE-LCHlch(35.27, 79.90, 300.15°)
OKLaboklab(45.84% 0.0095 -0.1997)
OKLCHoklch(45.84% 0.2 272.7)
XYZxyz(13.5381, 8.6346, 53.1670)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941C4 #C4BC39
analogous
#3986C4 #3941C4 #7739C4
triadic
#3941C4 #C43941 #41C439
tetradic
#3941C4 #C43986 #C4BC39 #39C477
square
#3941C4 #C43986 #C4BC39 #39C477
split-complementary
#3941C4 #C47739 #86C439
monochromatic
#1D2265 #2B3195 #3941C4 #676ED3 #979BE1

Accessibility & contrast

On white

7.70
#3941C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3941C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941C4
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941C4#FFFFFF#000000##FFFFFF
##3941C41.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C8
Deuteranopia (green-blind)
#004CC2
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3941c4;
/* rgb */ color: rgb(57, 65, 196);
/* oklch */ color: oklch(45.8% 0.200 272.7);
Tailwind
colors: {
  custom: {
    50: '#8376d7',
    500: '#3941c4',
    950: '#000000',
  },
}
SCSS
$custom: #3941c4;
$custom-light: #8376d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3941c4",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 196
  },
  "hsl": {
    "h": 236.547,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45843,
    "c": 0.19993,
    "h": 272.7
  },
  "luminance": 0.08636
}

Semantic roles & 50–950 ramp

primary
#3941C4
secondary
#CCC98D
accent
#D64ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3941C4

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

Preview Lab → · Contrast checker → · Palette generator →

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