#3B349B#3B349B

#3B349B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.161 H 279.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#3B349B
RGBrgb(59, 52, 155)
HSLhsl(244, 50%, 41%)
HSVhsv(244, 66%, 61%)
CMYKcmyk(61.9%, 66.5%, 0%, 39.2%)
CIE-LABlab(28.78, 34.44, -55.27)
CIE-LCHlch(28.78, 65.12, 301.92°)
OKLaboklab(40.04% 0.026 -0.1592)
OKLCHoklch(40.04% 0.161 279.3)
XYZxyz(8.9461, 5.7517, 31.6427)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B349B #949B34
analogous
#34609B #3B349B #6E349B
triadic
#3B349B #9B3B34 #349B3B
tetradic
#3B349B #9B3460 #949B34 #349B6E
square
#3B349B #9B3460 #949B34 #349B6E
split-complementary
#3B349B #9B6E34 #609B34
monochromatic
#18153F #2A256D #3B349B #524AC2 #7E78D2

Accessibility & contrast

On white

9.77
#3B349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B349B
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B349B#FFFFFF#000000##FFFFFF
##3B349B1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3b349b;
/* rgb */ color: rgb(59, 52, 155);
/* oklch */ color: oklch(40.0% 0.161 279.3);
Tailwind
colors: {
  custom: {
    50: '#7c6cb9',
    500: '#3b349b',
    950: '#000000',
  },
}
SCSS
$custom: #3b349b;
$custom-light: #7c6cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b349b",
  "rgb": {
    "r": 59,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 244.078,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40043,
    "c": 0.1613,
    "h": 279.3
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#3B349B
secondary
#B5BA71
accent
#D94FD0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3B349B

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

Preview Lab → · Contrast checker → · Palette generator →

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