#3F349F#3F349F

#3F349F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.166 H 280.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#3F349F
RGBrgb(63, 52, 159)
HSLhsl(246, 51%, 41%)
HSVhsv(246, 67%, 62%)
CMYKcmyk(60.4%, 67.3%, 0%, 37.6%)
CIE-LABlab(29.45, 36.41, -56.59)
CIE-LCHlch(29.45, 67.29, 302.75°)
OKLaboklab(40.72% 0.0309 -0.1629)
OKLCHoklch(40.72% 0.166 280.7)
XYZxyz(9.5339, 6.0153, 33.4528)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F349F #949F34
analogous
#345F9F #3F349F #75349F
triadic
#3F349F #9F3F34 #349F3F
tetradic
#3F349F #9F345F #949F34 #349F75
square
#3F349F #9F345F #949F34 #349F75
split-complementary
#3F349F #9F7534 #5F9F34
monochromatic
#1A1643 #2D2571 #3F349F #584CC4 #837AD3

Accessibility & contrast

On white

9.53
#3F349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3F349F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F349F
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F349F#FFFFFF#000000##FFFFFF
##3F349F1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f349f;
/* rgb */ color: rgb(63, 52, 159);
/* oklch */ color: oklch(40.7% 0.166 280.7);
Tailwind
colors: {
  custom: {
    50: '#7f6cbc',
    500: '#3f349f',
    950: '#000000',
  },
}
SCSS
$custom: #3f349f;
$custom-light: #7f6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f349f",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 246.168,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40721,
    "c": 0.16583,
    "h": 280.7
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#3F349F
secondary
#B5BC73
accent
#DA4ECC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3F349F

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

Preview Lab → · Contrast checker → · Palette generator →

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