#3F359F#3F359F

#3F359F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.9% C 0.165 H 280.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#3F359F
RGBrgb(63, 53, 159)
HSLhsl(246, 50%, 42%)
HSVhsv(246, 67%, 62%)
CMYKcmyk(60.4%, 66.7%, 0%, 37.6%)
CIE-LABlab(29.68, 35.80, -56.22)
CIE-LCHlch(29.68, 66.65, 302.49°)
OKLaboklab(40.89% 0.03 -0.1618)
OKLCHoklch(40.89% 0.165 280.5)
XYZxyz(9.5790, 6.1055, 33.4679)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F359F #959F35
analogous
#35609F #3F359F #74359F
triadic
#3F359F #9F3F35 #359F3F
tetradic
#3F359F #9F3560 #959F35 #359F74
square
#3F359F #9F3560 #959F35 #359F74
split-complementary
#3F359F #9F7435 #609F35
monochromatic
#1B1643 #2D2671 #3F359F #594DC4 #847BD3

Accessibility & contrast

On white

9.45
#3F359F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3F359F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F359F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F359F#FFFFFF#000000##FFFFFF
##3F359F1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f359f;
/* rgb */ color: rgb(63, 53, 159);
/* oklch */ color: oklch(40.9% 0.165 280.5);
Tailwind
colors: {
  custom: {
    50: '#7f6dbc',
    500: '#3f359f',
    950: '#000000',
  },
}
SCSS
$custom: #3f359f;
$custom-light: #7f6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f359f",
  "rgb": {
    "r": 63,
    "g": 53,
    "b": 159
  },
  "hsl": {
    "h": 245.66,
    "s": 50,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40885,
    "c": 0.1646,
    "h": 280.5
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#3F359F
secondary
#B5BC74
accent
#DA4ECC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3F359F

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

Preview Lab → · Contrast checker → · Palette generator →

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