#3939D9#3939D9

#3939D9 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.7% C 0.234 H 272.7°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#3939D9
RGBrgb(57, 57, 217)
HSLhsl(240, 68%, 54%)
HSVhsv(240, 74%, 85%)
CMYKcmyk(73.7%, 73.7%, 0%, 14.9%)
CIE-LABlab(35.60, 51.74, -80.72)
CIE-LCHlch(35.60, 95.88, 302.66°)
OKLaboklab(46.69% 0.0109 -0.2336)
OKLCHoklch(46.69% 0.234 272.7)
XYZxyz(15.6707, 8.8042, 66.5057)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939D9 #D9D939
analogous
#3989D9 #3939D9 #8939D9
triadic
#3939D9 #D93939 #39D939
tetradic
#3939D9 #D93989 #D9D939 #39D989
square
#3939D9 #D93989 #D9D939 #39D989
split-complementary
#3939D9 #D98939 #89D939
monochromatic
#18187F #2222B3 #3939D9 #6C6CE3 #A0A0ED

Accessibility & contrast

On white

7.61
#3939D9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3939D9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939D9
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939D9#FFFFFF#000000##FFFFFF
##3939D91.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BDE
Deuteranopia (green-blind)
#004CD6
Tritanopia (blue-blind)
#006886
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3939d9;
/* rgb */ color: rgb(57, 57, 217);
/* oklch */ color: oklch(46.7% 0.234 272.7);
Tailwind
colors: {
  custom: {
    50: '#8871e6',
    500: '#3939d9',
    950: '#000000',
  },
}
SCSS
$custom: #3939d9;
$custom-light: #8871e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3939d9",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 217
  },
  "hsl": {
    "h": 240,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.46688,
    "c": 0.23385,
    "h": 272.7
  },
  "luminance": 0.08806
}

Semantic roles & 50–950 ramp

primary
#3939D9
secondary
#D9D995
accent
#EB3DEB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3939D9

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

Preview Lab → · Contrast checker → · Palette generator →

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