#3939B9#3939B9

#3939B9 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.5% C 0.195 H 274.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#3939B9
RGBrgb(57, 57, 185)
HSLhsl(240, 53%, 47%)
HSVhsv(240, 69%, 73%)
CMYKcmyk(69.2%, 69.2%, 0%, 27.5%)
CIE-LABlab(32.48, 41.22, -67.22)
CIE-LCHlch(32.48, 78.85, 301.52°)
OKLaboklab(43.51% 0.0159 -0.1942)
OKLCHoklch(43.51% 0.195 274.7)
XYZxyz(11.9045, 7.2978, 46.6708)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939B9 #B9B939
analogous
#3979B9 #3939B9 #7939B9
triadic
#3939B9 #B93939 #39B939
tetradic
#3939B9 #B93979 #B9B939 #39B979
square
#3939B9 #B93979 #B9B939 #39B979
split-complementary
#3939B9 #B97939 #79B939
monochromatic
#1C1C5B #2B2B8A #3939B9 #6161CE #9090DD

Accessibility & contrast

On white

8.54
#3939B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3939B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939B9
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939B9#FFFFFF#000000##FFFFFF
##3939B91.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BD
Deuteranopia (green-blind)
#0046B7
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3939b9;
/* rgb */ color: rgb(57, 57, 185);
/* oklch */ color: oklch(43.5% 0.195 274.7);
Tailwind
colors: {
  custom: {
    50: '#8170cf',
    500: '#3939b9',
    950: '#000000',
  },
}
SCSS
$custom: #3939b9;
$custom-light: #8170cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3939b9",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 240,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43512,
    "c": 0.19488,
    "h": 274.7
  },
  "luminance": 0.07299
}

Semantic roles & 50–950 ramp

primary
#3939B9
secondary
#C8C886
accent
#DC4BDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3939B9

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

Preview Lab → · Contrast checker → · Palette generator →

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