#3F349C#3F349C

#3F349C is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.162 H 281.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#3F349C
RGBrgb(63, 52, 156)
HSLhsl(246, 50%, 41%)
HSVhsv(246, 67%, 61%)
CMYKcmyk(59.6%, 66.7%, 0%, 38.8%)
CIE-LABlab(29.19, 35.42, -55.19)
CIE-LCHlch(29.19, 65.58, 302.69°)
OKLaboklab(40.45% 0.0312 -0.1588)
OKLCHoklch(40.45% 0.162 281.1)
XYZxyz(9.2768, 5.9124, 32.0984)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F349C #919C34
analogous
#345D9C #3F349C #73349C
triadic
#3F349C #9C3F34 #349C3F
tetradic
#3F349C #9C345D #919C34 #349C73
square
#3F349C #9C345D #919C34 #349C73
split-complementary
#3F349C #9C7334 #5D9C34
monochromatic
#1A1540 #2C256E #3F349C #574AC3 #8278D2

Accessibility & contrast

On white

9.62
#3F349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F349C
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F349C#FFFFFF#000000##FFFFFF
##3F349C1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#014E63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f349c;
/* rgb */ color: rgb(63, 52, 156);
/* oklch */ color: oklch(40.5% 0.162 281.1);
Tailwind
colors: {
  custom: {
    50: '#7e6cba',
    500: '#3f349c',
    950: '#000000',
  },
}
SCSS
$custom: #3f349c;
$custom-light: #7e6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#3f349c",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 246.346,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40452,
    "c": 0.16188,
    "h": 281.1
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#3F349C
secondary
#B3BB71
accent
#DA4ECB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3F349C

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

Preview Lab → · Contrast checker → · Palette generator →

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