#3D349E#3D349E

#3D349E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.165 H 279.9°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#3D349E
RGBrgb(61, 52, 158)
HSLhsl(245, 50%, 41%)
HSVhsv(245, 67%, 62%)
CMYKcmyk(61.4%, 67.1%, 0%, 38%)
CIE-LABlab(29.20, 35.76, -56.40)
CIE-LCHlch(29.20, 66.78, 302.37°)
OKLaboklab(40.47% 0.0283 -0.1624)
OKLCHoklch(40.47% 0.165 279.9)
XYZxyz(9.3221, 5.9160, 32.9918)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D349E #959E34
analogous
#34609E #3D349E #72349E
triadic
#3D349E #9E3D34 #349E3D
tetradic
#3D349E #9E3460 #959E34 #349E72
square
#3D349E #9E3460 #959E34 #349E72
split-complementary
#3D349E #9E7234 #609E34
monochromatic
#191642 #2B2570 #3D349E #564BC4 #8179D3

Accessibility & contrast

On white

9.62
#3D349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3D349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D349E
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D349E#FFFFFF#000000##FFFFFF
##3D349E1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3d349e;
/* rgb */ color: rgb(61, 52, 158);
/* oklch */ color: oklch(40.5% 0.165 279.9);
Tailwind
colors: {
  custom: {
    50: '#7e6cbc',
    500: '#3d349e',
    950: '#000000',
  },
}
SCSS
$custom: #3d349e;
$custom-light: #7e6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d349e",
  "rgb": {
    "r": 61,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 245.094,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40471,
    "c": 0.16489,
    "h": 279.9
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#3D349E
secondary
#B5BC72
accent
#DA4ECE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3D349E

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

Preview Lab → · Contrast checker → · Palette generator →

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