#3939AE#3939AE

#3939AE is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.181 H 275.5°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#3939AE
RGBrgb(57, 57, 174)
HSLhsl(240, 51%, 45%)
HSVhsv(240, 67%, 68%)
CMYKcmyk(67.2%, 67.2%, 0%, 31.8%)
CIE-LABlab(31.47, 37.49, -62.34)
CIE-LCHlch(31.47, 72.75, 301.02°)
OKLaboklab(42.47% 0.0173 -0.1799)
OKLCHoklch(42.47% 0.181 275.5)
XYZxyz(10.7879, 6.8511, 40.7901)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939AE #AEAE39
analogous
#3973AE #3939AE #7339AE
triadic
#3939AE #AE3939 #39AE39
tetradic
#3939AE #AE3973 #AEAE39 #39AE73
square
#3939AE #AE3973 #AEAE39 #39AE73
split-complementary
#3939AE #AE7339 #73AE39
monochromatic
#1B1B52 #2A2A80 #3939AE #5B5BC9 #8989D8

Accessibility & contrast

On white

8.86
#3939AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3939AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3939AE#FFFFFF#000000##FFFFFF
##3939AE1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3939ae;
/* rgb */ color: rgb(57, 57, 174);
/* oklch */ color: oklch(42.5% 0.181 275.5);
Tailwind
colors: {
  custom: {
    50: '#7f70c7',
    500: '#3939ae',
    950: '#000000',
  },
}
SCSS
$custom: #3939ae;
$custom-light: #7f70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3939ae",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 240,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42474,
    "c": 0.18078,
    "h": 275.5
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3939AE

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

Preview Lab → · Contrast checker → · Palette generator →

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