#3939C5#3939C5

#3939C5 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.7% C 0.210 H 273.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#3939C5
RGBrgb(57, 57, 197)
HSLhsl(240, 55%, 50%)
HSVhsv(240, 71%, 77%)
CMYKcmyk(71.1%, 71.1%, 0%, 22.7%)
CIE-LABlab(33.62, 45.22, -72.40)
CIE-LCHlch(33.62, 85.36, 301.99°)
OKLaboklab(44.68% 0.0142 -0.2093)
OKLCHoklch(44.68% 0.21 273.9)
XYZxyz(13.2252, 7.8260, 53.6261)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939C5 #C5C539
analogous
#397FC5 #3939C5 #7F39C5
triadic
#3939C5 #C53939 #39C539
tetradic
#3939C5 #C5397F #C5C539 #39C57F
square
#3939C5 #C5397F #C5C539 #39C57F
split-complementary
#3939C5 #C57F39 #7FC539
monochromatic
#1E1E66 #2B2B96 #3939C5 #6868D3 #9797E1

Accessibility & contrast

On white

8.19
#3939C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3939C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939C5
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939C5#FFFFFF#000000##FFFFFF
##3939C51.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#0048C2
Tritanopia (blue-blind)
#00607B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3939c5;
/* rgb */ color: rgb(57, 57, 197);
/* oklch */ color: oklch(44.7% 0.210 273.9);
Tailwind
colors: {
  custom: {
    50: '#8371d8',
    500: '#3939c5',
    950: '#000000',
  },
}
SCSS
$custom: #3939c5;
$custom-light: #8371d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3939c5",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 240,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.44679,
    "c": 0.20983,
    "h": 273.9
  },
  "luminance": 0.07827
}

Semantic roles & 50–950 ramp

primary
#3939C5
secondary
#CDCD8D
accent
#DE49DE
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3939C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3939C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva