#3A39C5#3A39C5

#3A39C5 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.7% C 0.210 H 274.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#3A39C5
RGBrgb(58, 57, 197)
HSLhsl(240, 55%, 50%)
HSVhsv(240, 71%, 77%)
CMYKcmyk(70.6%, 71.1%, 0%, 22.7%)
CIE-LABlab(33.68, 45.33, -72.29)
CIE-LCHlch(33.68, 85.33, 302.09°)
OKLaboklab(44.74% 0.0154 -0.209)
OKLCHoklch(44.74% 0.21 274.2)
XYZxyz(13.2827, 7.8557, 53.6288)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A39C5 #C4C539
analogous
#397EC5 #3A39C5 #8039C5
triadic
#3A39C5 #C53A39 #39C53A
tetradic
#3A39C5 #C5397E #C4C539 #39C580
square
#3A39C5 #C5397E #C4C539 #39C580
split-complementary
#3A39C5 #C58039 #7EC539
monochromatic
#1E1E66 #2C2B96 #3A39C5 #6968D3 #9897E1

Accessibility & contrast

On white

8.17
#3A39C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3A39C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A39C5
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A39C5#FFFFFF#000000##FFFFFF
##3A39C51.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#0049C2
Tritanopia (blue-blind)
#00607B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a39c5;
/* rgb */ color: rgb(58, 57, 197);
/* oklch */ color: oklch(44.7% 0.210 274.2);
Tailwind
colors: {
  custom: {
    50: '#8471d8',
    500: '#3a39c5',
    950: '#000000',
  },
}
SCSS
$custom: #3a39c5;
$custom-light: #8471d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a39c5",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 240.429,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4474,
    "c": 0.20957,
    "h": 274.2
  },
  "luminance": 0.07857
}

Semantic roles & 50–950 ramp

primary
#3A39C5
secondary
#CCCD8D
accent
#DE49DD
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3A39C5

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

Preview Lab → · Contrast checker → · Palette generator →

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