#3939D5#3939D5

#3939D5 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.3% C 0.229 H 272.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#3939D5
RGBrgb(57, 57, 213)
HSLhsl(240, 65%, 53%)
HSVhsv(240, 73%, 84%)
CMYKcmyk(73.2%, 73.2%, 0%, 16.5%)
CIE-LABlab(35.20, 50.45, -79.08)
CIE-LCHlch(35.20, 93.81, 302.54°)
OKLaboklab(46.28% 0.0116 -0.2288)
OKLCHoklch(46.28% 0.229 272.9)
XYZxyz(15.1567, 8.5986, 63.7988)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939D5 #D5D539
analogous
#3987D5 #3939D5 #8739D5
triadic
#3939D5 #D53939 #39D539
tetradic
#3939D5 #D53987 #D5D539 #39D587
square
#3939D5 #D53987 #D5D539 #39D587
split-complementary
#3939D5 #D58739 #87D539
monochromatic
#1A1A7A #2525AC #3939D5 #6B6BE0 #9E9EEA

Accessibility & contrast

On white

7.72
#3939D5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3939D5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939D5
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939D5#FFFFFF#000000##FFFFFF
##3939D51.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADA
Deuteranopia (green-blind)
#004BD2
Tritanopia (blue-blind)
#006684
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3939d5;
/* rgb */ color: rgb(57, 57, 213);
/* oklch */ color: oklch(46.3% 0.229 272.9);
Tailwind
colors: {
  custom: {
    50: '#8771e3',
    500: '#3939d5',
    950: '#000000',
  },
}
SCSS
$custom: #3939d5;
$custom-light: #8771e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3939d5",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 213
  },
  "hsl": {
    "h": 240,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.4628,
    "c": 0.22912,
    "h": 272.9
  },
  "luminance": 0.086
}

Semantic roles & 50–950 ramp

primary
#3939D5
secondary
#D7D793
accent
#E840E8
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3939D5

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

Preview Lab → · Contrast checker → · Palette generator →

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