#3F349B#3F349B

#3F349B is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.161 H 281.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#3F349B
RGBrgb(63, 52, 155)
HSLhsl(246, 50%, 41%)
HSVhsv(246, 66%, 61%)
CMYKcmyk(59.4%, 66.5%, 0%, 39.2%)
CIE-LABlab(29.10, 35.09, -54.73)
CIE-LCHlch(29.10, 65.01, 302.67°)
OKLaboklab(40.36% 0.0313 -0.1575)
OKLCHoklch(40.36% 0.161 281.3)
XYZxyz(9.1924, 5.8787, 31.6543)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F349B #909B34
analogous
#345C9B #3F349B #72349B
triadic
#3F349B #9B3F34 #349B3F
tetradic
#3F349B #9B345C #909B34 #349B72
square
#3F349B #9B345C #909B34 #349B72
split-complementary
#3F349B #9B7234 #5C9B34
monochromatic
#1A153F #2C256D #3F349B #574AC2 #8178D2

Accessibility & contrast

On white

9.65
#3F349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F349B
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F349B#FFFFFF#000000##FFFFFF
##3F349B1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#044E63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f349b;
/* rgb */ color: rgb(63, 52, 155);
/* oklch */ color: oklch(40.4% 0.161 281.3);
Tailwind
colors: {
  custom: {
    50: '#7e6cb9',
    500: '#3f349b',
    950: '#000000',
  },
}
SCSS
$custom: #3f349b;
$custom-light: #7e6cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f349b",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 246.408,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40363,
    "c": 0.16056,
    "h": 281.3
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#3F349B
secondary
#B2BA71
accent
#D94FCA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3F349B

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

Preview Lab → · Contrast checker → · Palette generator →

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