#3939AC#3939AC

#3939AC is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.178 H 275.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#3939AC
RGBrgb(57, 57, 172)
HSLhsl(240, 50%, 45%)
HSVhsv(240, 67%, 67%)
CMYKcmyk(66.9%, 66.9%, 0%, 32.5%)
CIE-LABlab(31.29, 36.81, -61.44)
CIE-LCHlch(31.29, 71.62, 300.93°)
OKLaboklab(42.29% 0.0175 -0.1773)
OKLCHoklch(42.29% 0.178 275.6)
XYZxyz(10.5944, 6.7737, 39.7709)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939AC #ACAC39
analogous
#3973AC #3939AC #7339AC
triadic
#3939AC #AC3939 #39AC39
tetradic
#3939AC #AC3973 #ACAC39 #39AC73
square
#3939AC #AC3973 #ACAC39 #39AC73
split-complementary
#3939AC #AC7339 #73AC39
monochromatic
#1B1B50 #2A2A7E #3939AC #5A5AC8 #8888D8

Accessibility & contrast

On white

8.92
#3939AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3939AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939AC
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939AC#FFFFFF#000000##FFFFFF
##3939AC1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0044AA
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3939ac;
/* rgb */ color: rgb(57, 57, 172);
/* oklch */ color: oklch(42.3% 0.178 275.6);
Tailwind
colors: {
  custom: {
    50: '#7e70c6',
    500: '#3939ac',
    950: '#000000',
  },
}
SCSS
$custom: #3939ac;
$custom-light: #7e70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3939ac",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 240,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42289,
    "c": 0.17817,
    "h": 275.6
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#3939AC
secondary
#C2C27F
accent
#DA4EDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3939AC

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

Preview Lab → · Contrast checker → · Palette generator →

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