#3939B6#3939B6

#3939B6 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.191 H 274.9°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#3939B6
RGBrgb(57, 57, 182)
HSLhsl(240, 52%, 47%)
HSVhsv(240, 69%, 71%)
CMYKcmyk(68.7%, 68.7%, 0%, 28.6%)
CIE-LABlab(32.20, 40.21, -65.90)
CIE-LCHlch(32.20, 77.20, 301.39°)
OKLaboklab(43.23% 0.0163 -0.1904)
OKLCHoklch(43.23% 0.191 274.9)
XYZxyz(11.5912, 7.1724, 45.0205)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939B6 #B6B639
analogous
#3978B6 #3939B6 #7839B6
triadic
#3939B6 #B63939 #39B639
tetradic
#3939B6 #B63978 #B6B639 #39B678
square
#3939B6 #B63978 #B6B639 #39B678
split-complementary
#3939B6 #B67839 #78B639
monochromatic
#1C1C59 #2A2A87 #3939B6 #5F5FCD #8E8EDC

Accessibility & contrast

On white

8.62
#3939B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3939B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939B6
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939B6#FFFFFF#000000##FFFFFF
##3939B61.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0046B4
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3939b6;
/* rgb */ color: rgb(57, 57, 182);
/* oklch */ color: oklch(43.2% 0.191 274.9);
Tailwind
colors: {
  custom: {
    50: '#8070cd',
    500: '#3939b6',
    950: '#000000',
  },
}
SCSS
$custom: #3939b6;
$custom-light: #8070cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3939b6",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 182
  },
  "hsl": {
    "h": 240,
    "s": 52.301,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43226,
    "c": 0.19107,
    "h": 274.9
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#3939B6
secondary
#C6C685
accent
#DC4CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3939B6

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

Preview Lab → · Contrast checker → · Palette generator →

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