#3B348E#3B348E

#3B348E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.144 H 280.9°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#3B348E
RGBrgb(59, 52, 142)
HSLhsl(245, 46%, 38%)
HSVhsv(245, 63%, 56%)
CMYKcmyk(58.5%, 63.4%, 0%, 44.3%)
CIE-LABlab(27.68, 30.06, -49.09)
CIE-LCHlch(27.68, 57.56, 301.48°)
OKLaboklab(38.9% 0.0271 -0.141)
OKLCHoklch(38.9% 0.144 280.9)
XYZxyz(7.9126, 5.3383, 26.1994)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B348E #878E34
analogous
#345A8E #3B348E #68348E
triadic
#3B348E #8E3B34 #348E3B
tetradic
#3B348E #8E345A #878E34 #348E68
square
#3B348E #8E345A #878E34 #348E68
split-complementary
#3B348E #8E6834 #5A8E34
monochromatic
#161334 #282461 #3B348E #4E44BB #7871CB

Accessibility & contrast

On white

10.16
#3B348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3B348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B348E
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B348E#FFFFFF#000000##FFFFFF
##3B348E1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#0D4A5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3b348e;
/* rgb */ color: rgb(59, 52, 142);
/* oklch */ color: oklch(38.9% 0.144 280.9);
Tailwind
colors: {
  custom: {
    50: '#7a6cb0',
    500: '#3b348e',
    950: '#000000',
  },
}
SCSS
$custom: #3b348e;
$custom-light: #7a6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b348e",
  "rgb": {
    "r": 59,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 244.667,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38899,
    "c": 0.14362,
    "h": 280.9
  },
  "luminance": 0.05339
}

Semantic roles & 50–950 ramp

primary
#3B348E
secondary
#AEB36A
accent
#D652CC
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3B348E

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

Preview Lab → · Contrast checker → · Palette generator →

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