#3939AF#3939AF

#3939AF is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.182 H 275.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#3939AF
RGBrgb(57, 57, 175)
HSLhsl(240, 51%, 45%)
HSVhsv(240, 67%, 69%)
CMYKcmyk(67.4%, 67.4%, 0%, 31.4%)
CIE-LABlab(31.56, 37.83, -62.79)
CIE-LCHlch(31.56, 73.31, 301.07°)
OKLaboklab(42.57% 0.0172 -0.1813)
OKLCHoklch(42.57% 0.182 275.4)
XYZxyz(10.8858, 6.8903, 41.3054)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939AF #AFAF39
analogous
#3974AF #3939AF #7439AF
triadic
#3939AF #AF3939 #39AF39
tetradic
#3939AF #AF3974 #AFAF39 #39AF74
square
#3939AF #AF3974 #AFAF39 #39AF74
split-complementary
#3939AF #AF7439 #74AF39
monochromatic
#1B1B53 #2A2A81 #3939AF #5B5BCA #8A8AD9

Accessibility & contrast

On white

8.83
#3939AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3939AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3939AF#FFFFFF#000000##FFFFFF
##3939AF1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3939af;
/* rgb */ color: rgb(57, 57, 175);
/* oklch */ color: oklch(42.6% 0.182 275.4);
Tailwind
colors: {
  custom: {
    50: '#7f70c8',
    500: '#3939af',
    950: '#000000',
  },
}
SCSS
$custom: #3939af;
$custom-light: #7f70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3939af",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 240,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42567,
    "c": 0.18208,
    "h": 275.4
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#3939AF
secondary
#C3C381
accent
#DA4DDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3939AF

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

Preview Lab → · Contrast checker → · Palette generator →

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