#3939B4#3939B4

#3939B4 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.189 H 275.0°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#3939B4
RGBrgb(57, 57, 180)
HSLhsl(240, 52%, 46%)
HSVhsv(240, 68%, 71%)
CMYKcmyk(68.3%, 68.3%, 0%, 29.4%)
CIE-LABlab(32.01, 39.53, -65.02)
CIE-LCHlch(32.01, 76.09, 301.30°)
OKLaboklab(43.04% 0.0166 -0.1878)
OKLCHoklch(43.04% 0.189 275)
XYZxyz(11.3860, 7.0904, 43.9397)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939B4 #B4B439
analogous
#3977B4 #3939B4 #7739B4
triadic
#3939B4 #B43939 #39B439
tetradic
#3939B4 #B43977 #B4B439 #39B477
square
#3939B4 #B43977 #B4B439 #39B477
split-complementary
#3939B4 #B47739 #77B439
monochromatic
#1C1C57 #2A2A86 #3939B4 #5E5ECC #8D8DDB

Accessibility & contrast

On white

8.68
#3939B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3939B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939B4
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939B4#FFFFFF#000000##FFFFFF
##3939B41.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0046B2
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3939b4;
/* rgb */ color: rgb(57, 57, 180);
/* oklch */ color: oklch(43.0% 0.189 275.0);
Tailwind
colors: {
  custom: {
    50: '#8070cc',
    500: '#3939b4',
    950: '#000000',
  },
}
SCSS
$custom: #3939b4;
$custom-light: #8070cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3939b4",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 240,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43037,
    "c": 0.18852,
    "h": 275
  },
  "luminance": 0.07091
}

Semantic roles & 50–950 ramp

primary
#3939B4
secondary
#C5C583
accent
#DB4CDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3939B4

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

Preview Lab → · Contrast checker → · Palette generator →

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