#3939AA#3939AA

#3939AA is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.176 H 275.8°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#3939AA
RGBrgb(57, 57, 170)
HSLhsl(240, 50%, 45%)
HSVhsv(240, 66%, 67%)
CMYKcmyk(66.5%, 66.5%, 0%, 33.3%)
CIE-LABlab(31.11, 36.13, -60.53)
CIE-LCHlch(31.11, 70.49, 300.83°)
OKLaboklab(42.11% 0.0177 -0.1747)
OKLCHoklch(42.11% 0.176 275.8)
XYZxyz(10.4038, 6.6975, 38.7669)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939AA #AAAA39
analogous
#3972AA #3939AA #7239AA
triadic
#3939AA #AA3939 #39AA39
tetradic
#3939AA #AA3972 #AAAA39 #39AA72
square
#3939AA #AA3972 #AAAA39 #39AA72
split-complementary
#3939AA #AA7239 #72AA39
monochromatic
#1A1A4E #2A2A7C #3939AA #5959C7 #8787D7

Accessibility & contrast

On white

8.98
#3939AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3939AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3939AA#FFFFFF#000000##FFFFFF
##3939AA1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3939aa;
/* rgb */ color: rgb(57, 57, 170);
/* oklch */ color: oklch(42.1% 0.176 275.8);
Tailwind
colors: {
  custom: {
    50: '#7e70c4',
    500: '#3939aa',
    950: '#000000',
  },
}
SCSS
$custom: #3939aa;
$custom-light: #7e70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3939aa",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 240,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42105,
    "c": 0.17555,
    "h": 275.8
  },
  "luminance": 0.06698
}

Semantic roles & 50–950 ramp

primary
#3939AA
secondary
#C1C17E
accent
#D94ED9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3939AA

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

Preview Lab → · Contrast checker → · Palette generator →

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