#3A39AE#3A39AE

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

Color values

HEX#3A39AE
RGBrgb(58, 57, 174)
HSLhsl(241, 51%, 45%)
HSVhsv(241, 67%, 68%)
CMYKcmyk(66.7%, 67.2%, 0%, 31.8%)
CIE-LABlab(31.53, 37.63, -62.22)
CIE-LCHlch(31.53, 72.72, 301.16°)
OKLaboklab(42.54% 0.0185 -0.1796)
OKLCHoklch(42.54% 0.181 275.9)
XYZxyz(10.8455, 6.8808, 40.7928)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A39AE #ADAE39
analogous
#3972AE #3A39AE #7539AE
triadic
#3A39AE #AE3A39 #39AE3A
tetradic
#3A39AE #AE3972 #ADAE39 #39AE75
square
#3A39AE #AE3972 #ADAE39 #39AE75
split-complementary
#3A39AE #AE7539 #72AE39
monochromatic
#1B1B52 #2B2A80 #3A39AE #5C5BC9 #8A89D8

Accessibility & contrast

On white

8.84
#3A39AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3A39AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A39AE
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A39AE#FFFFFF#000000##FFFFFF
##3A39AE1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.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: #3a39ae;
/* rgb */ color: rgb(58, 57, 174);
/* oklch */ color: oklch(42.5% 0.181 275.9);
Tailwind
colors: {
  custom: {
    50: '#7f70c7',
    500: '#3a39ae',
    950: '#000000',
  },
}
SCSS
$custom: #3a39ae;
$custom-light: #7f70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a39ae",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 240.513,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42542,
    "c": 0.18054,
    "h": 275.9
  },
  "luminance": 0.06882
}

Semantic roles & 50–950 ramp

primary
#3A39AE
secondary
#C2C380
accent
#DA4ED9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3A39AE

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

Preview Lab → · Contrast checker → · Palette generator →

#3A39AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva