#3939B2#3939B2

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

Color values

HEX#3939B2
RGBrgb(57, 57, 178)
HSLhsl(240, 51%, 46%)
HSVhsv(240, 68%, 70%)
CMYKcmyk(68%, 68%, 0%, 30.2%)
CIE-LABlab(31.83, 38.85, -64.13)
CIE-LCHlch(31.83, 74.98, 301.21°)
OKLaboklab(42.85% 0.0168 -0.1852)
OKLCHoklch(42.85% 0.186 275.2)
XYZxyz(11.1837, 7.0095, 42.8744)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939B2 #B2B239
analogous
#3975B2 #3939B2 #7539B2
triadic
#3939B2 #B23939 #39B239
tetradic
#3939B2 #B23975 #B2B239 #39B275
square
#3939B2 #B23975 #B2B239 #39B275
split-complementary
#3939B2 #B27539 #75B239
monochromatic
#1B1B55 #2A2A84 #3939B2 #5D5DCB #8B8BDA

Accessibility & contrast

On white

8.74
#3939B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3939B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939B2
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939B2#FFFFFF#000000##FFFFFF
##3939B21.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3939b2;
/* rgb */ color: rgb(57, 57, 178);
/* oklch */ color: oklch(42.8% 0.186 275.2);
Tailwind
colors: {
  custom: {
    50: '#7f70ca',
    500: '#3939b2',
    950: '#000000',
  },
}
SCSS
$custom: #3939b2;
$custom-light: #7f70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3939b2",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 240,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42848,
    "c": 0.18595,
    "h": 275.2
  },
  "luminance": 0.0701
}

Semantic roles & 50–950 ramp

primary
#3939B2
secondary
#C4C482
accent
#DB4DDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3939B2

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

Preview Lab → · Contrast checker → · Palette generator →

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