#3F359D#3F359D

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

Color values

HEX#3F359D
RGBrgb(63, 53, 157)
HSLhsl(246, 50%, 41%)
HSVhsv(246, 66%, 62%)
CMYKcmyk(59.9%, 66.2%, 0%, 38.4%)
CIE-LABlab(29.50, 35.14, -55.29)
CIE-LCHlch(29.50, 65.51, 302.44°)
OKLaboklab(40.71% 0.0302 -0.1591)
OKLCHoklch(40.71% 0.162 280.7)
XYZxyz(9.4069, 6.0366, 32.5612)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F359D #939D35
analogous
#355F9D #3F359D #73359D
triadic
#3F359D #9D3F35 #359D3F
tetradic
#3F359D #9D355F #939D35 #359D73
square
#3F359D #9D355F #939D35 #359D73
split-complementary
#3F359D #9D7335 #5F9D35
monochromatic
#1A1641 #2D266F #3F359D #584CC3 #837AD2

Accessibility & contrast

On white

9.51
#3F359D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3F359D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F359D
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F359D#FFFFFF#000000##FFFFFF
##3F359D1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f359d;
/* rgb */ color: rgb(63, 53, 157);
/* oklch */ color: oklch(40.7% 0.162 280.7);
Tailwind
colors: {
  custom: {
    50: '#7e6dbb',
    500: '#3f359d',
    950: '#000000',
  },
}
SCSS
$custom: #3f359d;
$custom-light: #7e6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f359d",
  "rgb": {
    "r": 63,
    "g": 53,
    "b": 157
  },
  "hsl": {
    "h": 245.769,
    "s": 49.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40706,
    "c": 0.16196,
    "h": 280.7
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

primary
#3F359D
secondary
#B4BB73
accent
#D94FCC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3F359D

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

Preview Lab → · Contrast checker → · Palette generator →

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