#3F349D#3F349D

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

Color values

HEX#3F349D
RGBrgb(63, 52, 157)
HSLhsl(246, 50%, 41%)
HSVhsv(246, 67%, 62%)
CMYKcmyk(59.9%, 66.9%, 0%, 38.4%)
CIE-LABlab(29.28, 35.75, -55.66)
CIE-LCHlch(29.28, 66.15, 302.71°)
OKLaboklab(40.54% 0.0311 -0.1602)
OKLCHoklch(40.54% 0.163 281)
XYZxyz(9.3618, 5.9464, 32.5462)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F349D #929D34
analogous
#345D9D #3F349D #73349D
triadic
#3F349D #9D3F34 #349D3F
tetradic
#3F349D #9D345D #929D34 #349D73
square
#3F349D #9D345D #929D34 #349D73
split-complementary
#3F349D #9D7334 #5D9D34
monochromatic
#1A1641 #2D256F #3F349D #574BC3 #8279D3

Accessibility & contrast

On white

9.59
#3F349D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3F349D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F349D
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F349D#FFFFFF#000000##FFFFFF
##3F349D1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f349d;
/* rgb */ color: rgb(63, 52, 157);
/* oklch */ color: oklch(40.5% 0.163 281.0);
Tailwind
colors: {
  custom: {
    50: '#7e6cbb',
    500: '#3f349d',
    950: '#000000',
  },
}
SCSS
$custom: #3f349d;
$custom-light: #7e6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f349d",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 246.286,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40541,
    "c": 0.1632,
    "h": 281
  },
  "luminance": 0.05947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F349D

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

Preview Lab → · Contrast checker → · Palette generator →

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