#3939A5#3939A5

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

Color values

HEX#3939A5
RGBrgb(57, 57, 165)
HSLhsl(240, 49%, 44%)
HSVhsv(240, 65%, 65%)
CMYKcmyk(65.5%, 65.5%, 0%, 35.3%)
CIE-LABlab(30.67, 34.41, -58.25)
CIE-LCHlch(30.67, 67.65, 300.57°)
OKLaboklab(41.65% 0.0182 -0.168)
OKLCHoklch(41.65% 0.169 276.2)
XYZxyz(9.9398, 6.5119, 36.3231)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939A5 #A5A539
analogous
#396FA5 #3939A5 #6F39A5
triadic
#3939A5 #A53939 #39A539
tetradic
#3939A5 #A5396F #A5A539 #39A56F
square
#3939A5 #A5396F #A5A539 #39A56F
split-complementary
#3939A5 #A56F39 #6FA539
monochromatic
#1A1A4A #292978 #3939A5 #5656C5 #8484D4

Accessibility & contrast

On white

9.12
#3939A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3939A5
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939A5#FFFFFF#000000##FFFFFF
##3939A51.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3939a5;
/* rgb */ color: rgb(57, 57, 165);
/* oklch */ color: oklch(41.6% 0.169 276.2);
Tailwind
colors: {
  custom: {
    50: '#7d70c1',
    500: '#3939a5',
    950: '#000000',
  },
}
SCSS
$custom: #3939a5;
$custom-light: #7d70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3939a5",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 165
  },
  "hsl": {
    "h": 240,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4165,
    "c": 0.16894,
    "h": 276.2
  },
  "luminance": 0.06513
}

Semantic roles & 50–950 ramp

primary
#3939A5
secondary
#BEBE7B
accent
#D850D8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3939A5

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

Preview Lab → · Contrast checker → · Palette generator →

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