#3A39B5#3A39B5

#3A39B5 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.190 H 275.3°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#3A39B5
RGBrgb(58, 57, 181)
HSLhsl(240, 52%, 47%)
HSVhsv(240, 69%, 71%)
CMYKcmyk(68%, 68.5%, 0%, 29%)
CIE-LABlab(32.17, 40.00, -65.35)
CIE-LCHlch(32.17, 76.62, 301.47°)
OKLaboklab(43.2% 0.0177 -0.1887)
OKLCHoklch(43.2% 0.19 275.3)
XYZxyz(11.5458, 7.1609, 44.4808)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A39B5 #B4B539
analogous
#3976B5 #3A39B5 #7839B5
triadic
#3A39B5 #B53A39 #39B53A
tetradic
#3A39B5 #B53976 #B4B539 #39B578
square
#3A39B5 #B53976 #B4B539 #39B578
split-complementary
#3A39B5 #B57839 #76B539
monochromatic
#1C1C58 #2B2A86 #3A39B5 #605FCD #8E8DDB

Accessibility & contrast

On white

8.63
#3A39B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3A39B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A39B5
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A39B5#FFFFFF#000000##FFFFFF
##3A39B51.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a39b5;
/* rgb */ color: rgb(58, 57, 181);
/* oklch */ color: oklch(43.2% 0.190 275.3);
Tailwind
colors: {
  custom: {
    50: '#8070cc',
    500: '#3a39b5',
    950: '#000000',
  },
}
SCSS
$custom: #3a39b5;
$custom-light: #8070cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a39b5",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 240.484,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43197,
    "c": 0.18955,
    "h": 275.3
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#3A39B5
secondary
#C5C684
accent
#DC4CDA
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3A39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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