#3931CC#3931CC

#3931CC is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.3% C 0.226 H 274.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#3931CC
RGBrgb(57, 49, 204)
HSLhsl(243, 61%, 50%)
HSVhsv(243, 76%, 80%)
CMYKcmyk(72.1%, 76%, 0%, 20%)
CIE-LABlab(32.76, 51.89, -77.90)
CIE-LCHlch(32.76, 93.60, 303.67°)
OKLaboklab(44.28% 0.0169 -0.2253)
OKLCHoklch(44.28% 0.226 274.3)
XYZxyz(13.6811, 7.4248, 57.8271)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3931CC #C4CC31
analogous
#3176CC #3931CC #8731CC
triadic
#3931CC #CC3931 #31CC39
tetradic
#3931CC #CC3176 #C4CC31 #31CC87
square
#3931CC #CC3176 #C4CC31 #31CC87
split-complementary
#3931CC #CC8731 #76CC31
monochromatic
#1D1969 #2B259B #3931CC #6761D9 #9792E5

Accessibility & contrast

On white

8.45
#3931CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3931CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3931CC
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3931CC#FFFFFF#000000##FFFFFF
##3931CC1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D0
Deuteranopia (green-blind)
#0046C9
Tritanopia (blue-blind)
#005F7D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3931cc;
/* rgb */ color: rgb(57, 49, 204);
/* oklch */ color: oklch(44.3% 0.226 274.3);
Tailwind
colors: {
  custom: {
    50: '#866cdd',
    500: '#3931cc',
    950: '#000000',
  },
}
SCSS
$custom: #3931cc;
$custom-light: #866cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3931cc",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 204
  },
  "hsl": {
    "h": 243.097,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44277,
    "c": 0.22597,
    "h": 274.3
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#3931CC
secondary
#CCD089
accent
#E443DC
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3931CC

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

Preview Lab → · Contrast checker → · Palette generator →

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