#3A349C#3A349C

#3A349C is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.163 H 278.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#3A349C
RGBrgb(58, 52, 156)
HSLhsl(243, 50%, 41%)
HSVhsv(243, 67%, 61%)
CMYKcmyk(62.8%, 66.7%, 0%, 38.8%)
CIE-LABlab(28.79, 34.61, -55.87)
CIE-LCHlch(28.79, 65.72, 301.78°)
OKLaboklab(40.06% 0.0245 -0.161)
OKLCHoklch(40.06% 0.163 278.7)
XYZxyz(8.9717, 5.7551, 32.0841)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A349C #969C34
analogous
#34629C #3A349C #6E349C
triadic
#3A349C #9C3A34 #349C3A
tetradic
#3A349C #9C3462 #969C34 #349C6E
square
#3A349C #9C3462 #969C34 #349C6E
split-complementary
#3A349C #9C6E34 #629C34
monochromatic
#181540 #29256E #3A349C #514AC3 #7D78D2

Accessibility & contrast

On white

9.76
#3A349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3A349C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A349C
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A349C#FFFFFF#000000##FFFFFF
##3A349C1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a349c;
/* rgb */ color: rgb(58, 52, 156);
/* oklch */ color: oklch(40.1% 0.163 278.7);
Tailwind
colors: {
  custom: {
    50: '#7c6cba',
    500: '#3a349c',
    950: '#000000',
  },
}
SCSS
$custom: #3a349c;
$custom-light: #7c6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#3a349c",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 243.462,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40056,
    "c": 0.16284,
    "h": 278.7
  },
  "luminance": 0.05756
}

Semantic roles & 50–950 ramp

primary
#3A349C
secondary
#B6BB71
accent
#DA4ED1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3A349C

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

Preview Lab → · Contrast checker → · Palette generator →

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