#3939C4#3939C4

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

Color values

HEX#3939C4
RGBrgb(57, 57, 196)
HSLhsl(240, 55%, 50%)
HSVhsv(240, 71%, 77%)
CMYKcmyk(70.9%, 70.9%, 0%, 23.1%)
CIE-LABlab(33.52, 44.89, -71.97)
CIE-LCHlch(33.52, 84.82, 301.95°)
OKLaboklab(44.58% 0.0143 -0.2081)
OKLCHoklch(44.58% 0.209 273.9)
XYZxyz(13.1110, 7.7804, 53.0247)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939C4 #C4C439
analogous
#397FC4 #3939C4 #7F39C4
triadic
#3939C4 #C43939 #39C439
tetradic
#3939C4 #C4397F #C4C439 #39C47F
square
#3939C4 #C4397F #C4C439 #39C47F
split-complementary
#3939C4 #C47F39 #7FC439
monochromatic
#1D1D65 #2B2B95 #3939C4 #6767D3 #9797E1

Accessibility & contrast

On white

8.21
#3939C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3939C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939C4
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939C4#FFFFFF#000000##FFFFFF
##3939C41.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0048C1
Tritanopia (blue-blind)
#00607A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3939c4;
/* rgb */ color: rgb(57, 57, 196);
/* oklch */ color: oklch(44.6% 0.209 273.9);
Tailwind
colors: {
  custom: {
    50: '#8371d7',
    500: '#3939c4',
    950: '#000000',
  },
}
SCSS
$custom: #3939c4;
$custom-light: #8371d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3939c4",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 240,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4458,
    "c": 0.20859,
    "h": 273.9
  },
  "luminance": 0.07782
}

Semantic roles & 50–950 ramp

primary
#3939C4
secondary
#CCCC8D
accent
#DE4ADE
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3939C4

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

Preview Lab → · Contrast checker → · Palette generator →

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