#3A39C3#3A39C3

#3A39C3 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.5% C 0.207 H 274.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#3A39C3
RGBrgb(58, 57, 195)
HSLhsl(240, 55%, 49%)
HSVhsv(240, 71%, 76%)
CMYKcmyk(70.3%, 70.8%, 0%, 23.5%)
CIE-LABlab(33.49, 44.67, -71.44)
CIE-LCHlch(33.49, 84.25, 302.02°)
OKLaboklab(44.54% 0.0157 -0.2065)
OKLCHoklch(44.54% 0.207 274.3)
XYZxyz(13.0551, 7.7647, 52.4299)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A39C3 #C2C339
analogous
#397DC3 #3A39C3 #7F39C3
triadic
#3A39C3 #C33A39 #39C33A
tetradic
#3A39C3 #C3397D #C2C339 #39C37F
square
#3A39C3 #C3397D #C2C339 #39C37F
split-complementary
#3A39C3 #C37F39 #7DC339
monochromatic
#1E1D64 #2C2B94 #3A39C3 #6767D2 #9796E0

Accessibility & contrast

On white

8.22
#3A39C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3A39C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A39C3
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A39C3#FFFFFF#000000##FFFFFF
##3A39C31.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C7
Deuteranopia (green-blind)
#0048C0
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a39c3;
/* rgb */ color: rgb(58, 57, 195);
/* oklch */ color: oklch(44.5% 0.207 274.3);
Tailwind
colors: {
  custom: {
    50: '#8371d6',
    500: '#3a39c3',
    950: '#000000',
  },
}
SCSS
$custom: #3a39c3;
$custom-light: #8371d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a39c3",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 240.435,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.44544,
    "c": 0.20711,
    "h": 274.3
  },
  "luminance": 0.07766
}

Semantic roles & 50–950 ramp

primary
#3A39C3
secondary
#CBCC8C
accent
#DE4ADD
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A39C3

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

Preview Lab → · Contrast checker → · Palette generator →

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