#3939A4#3939A4

#3939A4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.168 H 276.3°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#3939A4
RGBrgb(57, 57, 164)
HSLhsl(240, 48%, 43%)
HSVhsv(240, 65%, 64%)
CMYKcmyk(65.2%, 65.2%, 0%, 35.7%)
CIE-LABlab(30.58, 34.06, -57.78)
CIE-LCHlch(30.58, 67.08, 300.52°)
OKLaboklab(41.56% 0.0183 -0.1666)
OKLCHoklch(41.56% 0.168 276.3)
XYZxyz(9.8491, 6.4756, 35.8457)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939A4 #A4A439
analogous
#396EA4 #3939A4 #6E39A4
triadic
#3939A4 #A43939 #39A439
tetradic
#3939A4 #A4396E #A4A439 #39A46E
square
#3939A4 #A4396E #A4A439 #39A46E
split-complementary
#3939A4 #A46E39 #6EA439
monochromatic
#191949 #292977 #3939A4 #5656C4 #8383D4

Accessibility & contrast

On white

9.15
#3939A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3939A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939A4
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939A4#FFFFFF#000000##FFFFFF
##3939A41.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3939a4;
/* rgb */ color: rgb(57, 57, 164);
/* oklch */ color: oklch(41.6% 0.168 276.3);
Tailwind
colors: {
  custom: {
    50: '#7c70c0',
    500: '#3939a4',
    950: '#000000',
  },
}
SCSS
$custom: #3939a4;
$custom-light: #7c70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3939a4",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 164
  },
  "hsl": {
    "h": 240,
    "s": 48.416,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4156,
    "c": 0.1676,
    "h": 276.3
  },
  "luminance": 0.06476
}

Semantic roles & 50–950 ramp

primary
#3939A4
secondary
#BEBE7B
accent
#D850D8
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3939A4

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

Preview Lab → · Contrast checker → · Palette generator →

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