#3A349D#3A349D

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

Color values

HEX#3A349D
RGBrgb(58, 52, 157)
HSLhsl(243, 50%, 41%)
HSVhsv(243, 67%, 62%)
CMYKcmyk(63.1%, 66.9%, 0%, 38.4%)
CIE-LABlab(28.87, 34.95, -56.34)
CIE-LCHlch(28.87, 66.30, 301.82°)
OKLaboklab(40.15% 0.0244 -0.1623)
OKLCHoklch(40.15% 0.164 278.5)
XYZxyz(9.0568, 5.7891, 32.5319)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A349D #979D34
analogous
#34629D #3A349D #6E349D
triadic
#3A349D #9D3A34 #349D3A
tetradic
#3A349D #9D3462 #979D34 #349D6E
square
#3A349D #9D3462 #979D34 #349D6E
split-complementary
#3A349D #9D6E34 #629D34
monochromatic
#181641 #29256F #3A349D #524BC3 #7E79D3

Accessibility & contrast

On white

9.73
#3A349D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3A349D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A349D
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A349D#FFFFFF#000000##FFFFFF
##3A349D1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a349d;
/* rgb */ color: rgb(58, 52, 157);
/* oklch */ color: oklch(40.1% 0.164 278.5);
Tailwind
colors: {
  custom: {
    50: '#7c6cbb',
    500: '#3a349d',
    950: '#000000',
  },
}
SCSS
$custom: #3a349d;
$custom-light: #7c6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a349d",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 243.429,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40148,
    "c": 0.16416,
    "h": 278.5
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

primary
#3A349D
secondary
#B7BB72
accent
#DA4ED2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3A349D

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

Preview Lab → · Contrast checker → · Palette generator →

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