#3A349F#3A349F

#3A349F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.3% C 0.167 H 278.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#3A349F
RGBrgb(58, 52, 159)
HSLhsl(243, 51%, 41%)
HSVhsv(243, 67%, 62%)
CMYKcmyk(63.5%, 67.3%, 0%, 37.6%)
CIE-LABlab(29.05, 35.63, -57.26)
CIE-LCHlch(29.05, 67.44, 301.89°)
OKLaboklab(40.33% 0.0242 -0.1651)
OKLCHoklch(40.33% 0.167 278.3)
XYZxyz(9.2289, 5.8580, 33.4385)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A349F #999F34
analogous
#34649F #3A349F #70349F
triadic
#3A349F #9F3A34 #349F3A
tetradic
#3A349F #9F3464 #999F34 #349F70
square
#3A349F #9F3464 #999F34 #349F70
split-complementary
#3A349F #9F7034 #649F34
monochromatic
#181643 #292571 #3A349F #534CC4 #7F7AD3

Accessibility & contrast

On white

9.67
#3A349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3A349F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A349F
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A349F#FFFFFF#000000##FFFFFF
##3A349F1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a349f;
/* rgb */ color: rgb(58, 52, 159);
/* oklch */ color: oklch(40.3% 0.167 278.3);
Tailwind
colors: {
  custom: {
    50: '#7c6cbc',
    500: '#3a349f',
    950: '#000000',
  },
}
SCSS
$custom: #3a349f;
$custom-light: #7c6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a349f",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 243.364,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40331,
    "c": 0.16682,
    "h": 278.3
  },
  "luminance": 0.05859
}

Semantic roles & 50–950 ramp

primary
#3A349F
secondary
#B8BC73
accent
#DA4ED2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3A349F

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

Preview Lab → · Contrast checker → · Palette generator →

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