#3939B1#3939B1

#3939B1 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.185 H 275.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3939B1
RGBrgb(57, 57, 177)
HSLhsl(240, 51%, 46%)
HSVhsv(240, 68%, 69%)
CMYKcmyk(67.8%, 67.8%, 0%, 30.6%)
CIE-LABlab(31.74, 38.52, -63.68)
CIE-LCHlch(31.74, 74.42, 301.17°)
OKLaboklab(42.75% 0.0169 -0.1839)
OKLCHoklch(42.75% 0.185 275.3)
XYZxyz(11.0837, 6.9694, 42.3476)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939B1 #B1B139
analogous
#3975B1 #3939B1 #7539B1
triadic
#3939B1 #B13939 #39B139
tetradic
#3939B1 #B13975 #B1B139 #39B175
square
#3939B1 #B13975 #B1B139 #39B175
split-complementary
#3939B1 #B17539 #75B139
monochromatic
#1B1B54 #2A2A83 #3939B1 #5D5DCB #8B8BDA

Accessibility & contrast

On white

8.77
#3939B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3939B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939B1
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939B1#FFFFFF#000000##FFFFFF
##3939B11.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3939b1;
/* rgb */ color: rgb(57, 57, 177);
/* oklch */ color: oklch(42.8% 0.185 275.3);
Tailwind
colors: {
  custom: {
    50: '#7f70c9',
    500: '#3939b1',
    950: '#000000',
  },
}
SCSS
$custom: #3939b1;
$custom-light: #7f70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3939b1",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 240,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42754,
    "c": 0.18467,
    "h": 275.3
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#3939B1
secondary
#C4C482
accent
#DB4DDB
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3939B1

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

Preview Lab → · Contrast checker → · Palette generator →

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