#3A39C4#3A39C4

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

Color values

HEX#3A39C4
RGBrgb(58, 57, 196)
HSLhsl(240, 55%, 50%)
HSVhsv(240, 71%, 77%)
CMYKcmyk(70.4%, 70.9%, 0%, 23.1%)
CIE-LABlab(33.58, 45.00, -71.86)
CIE-LCHlch(33.58, 84.79, 302.05°)
OKLaboklab(44.64% 0.0155 -0.2078)
OKLCHoklch(44.64% 0.208 274.3)
XYZxyz(13.1685, 7.8101, 53.0274)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A39C4 #C3C439
analogous
#397DC4 #3A39C4 #8039C4
triadic
#3A39C4 #C43A39 #39C43A
tetradic
#3A39C4 #C4397D #C3C439 #39C480
square
#3A39C4 #C4397D #C3C439 #39C480
split-complementary
#3A39C4 #C48039 #7DC439
monochromatic
#1E1D65 #2C2B95 #3A39C4 #6867D3 #9797E1

Accessibility & contrast

On white

8.20
#3A39C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3A39C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A39C4
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A39C4#FFFFFF#000000##FFFFFF
##3A39C41.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0048C1
Tritanopia (blue-blind)
#00607A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a39c4;
/* rgb */ color: rgb(58, 57, 196);
/* oklch */ color: oklch(44.6% 0.208 274.3);
Tailwind
colors: {
  custom: {
    50: '#8471d7',
    500: '#3a39c4',
    950: '#000000',
  },
}
SCSS
$custom: #3a39c4;
$custom-light: #8471d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a39c4",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 240.432,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44642,
    "c": 0.20835,
    "h": 274.3
  },
  "luminance": 0.07811
}

Semantic roles & 50–950 ramp

primary
#3A39C4
secondary
#CCCC8D
accent
#DE4ADD
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3A39C4

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

Preview Lab → · Contrast checker → · Palette generator →

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