#3939DC#3939DC

#3939DC is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.0% C 0.237 H 272.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#3939DC
RGBrgb(57, 57, 220)
HSLhsl(240, 70%, 54%)
HSVhsv(240, 74%, 86%)
CMYKcmyk(74.1%, 74.1%, 0%, 13.7%)
CIE-LABlab(35.91, 52.70, -81.94)
CIE-LCHlch(35.91, 97.42, 302.75°)
OKLaboklab(47% 0.0104 -0.2371)
OKLCHoklch(47% 0.237 272.5)
XYZxyz(16.0644, 8.9617, 68.5794)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939DC #DCDC39
analogous
#398BDC #3939DC #8B39DC
triadic
#3939DC #DC3939 #39DC39
tetradic
#3939DC #DC398B #DCDC39 #39DC8B
square
#3939DC #DC398B #DCDC39 #39DC8B
split-complementary
#3939DC #DC8B39 #8BDC39
monochromatic
#171783 #2020B7 #3939DC #6D6DE5 #A1A1EE

Accessibility & contrast

On white

7.52
#3939DC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3939DC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939DC
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939DC#FFFFFF#000000##FFFFFF
##3939DC1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE1
Deuteranopia (green-blind)
#004CD9
Tritanopia (blue-blind)
#006988
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3939dc;
/* rgb */ color: rgb(57, 57, 220);
/* oklch */ color: oklch(47.0% 0.237 272.5);
Tailwind
colors: {
  custom: {
    50: '#8972e8',
    500: '#3939dc',
    950: '#000000',
  },
}
SCSS
$custom: #3939dc;
$custom-light: #8972e8;
$custom-dark: #000000;
JSON
{
  "hex": "#3939dc",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 220
  },
  "hsl": {
    "h": 240,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.46996,
    "c": 0.23737,
    "h": 272.5
  },
  "luminance": 0.08963
}

Semantic roles & 50–950 ramp

primary
#3939DC
secondary
#DBDB96
accent
#ED3BED
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3939DC

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

Preview Lab → · Contrast checker → · Palette generator →

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