#3B349E#3B349E

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

Color values

HEX#3B349E
RGBrgb(59, 52, 158)
HSLhsl(244, 50%, 41%)
HSVhsv(244, 67%, 62%)
CMYKcmyk(62.7%, 67.1%, 0%, 38%)
CIE-LABlab(29.04, 35.44, -56.67)
CIE-LCHlch(29.04, 66.84, 302.02°)
OKLaboklab(40.32% 0.0256 -0.1633)
OKLCHoklch(40.32% 0.165 278.9)
XYZxyz(9.2012, 5.8537, 32.9861)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B349E #979E34
analogous
#34629E #3B349E #70349E
triadic
#3B349E #9E3B34 #349E3B
tetradic
#3B349E #9E3462 #979E34 #349E70
square
#3B349E #9E3462 #979E34 #349E70
split-complementary
#3B349E #9E7034 #629E34
monochromatic
#191642 #2A2570 #3B349E #534BC4 #7F79D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B349E#FFFFFF#000000##FFFFFF
##3B349E1.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)
#0049A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3b349e;
/* rgb */ color: rgb(59, 52, 158);
/* oklch */ color: oklch(40.3% 0.165 278.9);
Tailwind
colors: {
  custom: {
    50: '#7d6cbc',
    500: '#3b349e',
    950: '#000000',
  },
}
SCSS
$custom: #3b349e;
$custom-light: #7d6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b349e",
  "rgb": {
    "r": 59,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 243.962,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40315,
    "c": 0.16528,
    "h": 278.9
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#3B349E
secondary
#B7BC72
accent
#DA4ED1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3B349E

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

Preview Lab → · Contrast checker → · Palette generator →

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