#3931C2#3931C2

#3931C2 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.2% C 0.214 H 275.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#3931C2
RGBrgb(57, 49, 194)
HSLhsl(243, 60%, 48%)
HSVhsv(243, 75%, 76%)
CMYKcmyk(70.6%, 74.7%, 0%, 23.9%)
CIE-LABlab(31.72, 48.73, -73.77)
CIE-LCHlch(31.72, 88.41, 303.45°)
OKLaboklab(43.24% 0.019 -0.2133)
OKLCHoklch(43.24% 0.214 275.1)
XYZxyz(12.5200, 6.9603, 51.7121)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3931C2 #BAC231
analogous
#3172C2 #3931C2 #8131C2
triadic
#3931C2 #C23931 #31C239
tetradic
#3931C2 #C23172 #BAC231 #31C281
square
#3931C2 #C23172 #BAC231 #31C281
split-complementary
#3931C2 #C28131 #72C231
monochromatic
#1C1860 #2B2591 #3931C2 #615BD6 #908CE2

Accessibility & contrast

On white

8.78
#3931C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3931C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3931C2
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3931C2#FFFFFF#000000##FFFFFF
##3931C21.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C6
Deuteranopia (green-blind)
#0044BF
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3931c2;
/* rgb */ color: rgb(57, 49, 194);
/* oklch */ color: oklch(43.2% 0.214 275.1);
Tailwind
colors: {
  custom: {
    50: '#846bd6',
    500: '#3931c2',
    950: '#000000',
  },
}
SCSS
$custom: #3931c2;
$custom-light: #846bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3931c2",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 243.31,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43236,
    "c": 0.21415,
    "h": 275.1
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#3931C2
secondary
#C8CC83
accent
#E345DA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3931C2

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

Preview Lab → · Contrast checker → · Palette generator →

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