#3F359A#3F359A

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

Color values

HEX#3F359A
RGBrgb(63, 53, 154)
HSLhsl(246, 49%, 41%)
HSVhsv(246, 66%, 60%)
CMYKcmyk(59.1%, 65.6%, 0%, 39.6%)
CIE-LABlab(29.25, 34.15, -53.88)
CIE-LCHlch(29.25, 63.79, 302.37°)
OKLaboklab(40.44% 0.0305 -0.155)
OKLCHoklch(40.44% 0.158 281.1)
XYZxyz(9.1539, 5.9354, 31.2289)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F359A #909A35
analogous
#355D9A #3F359A #71359A
triadic
#3F359A #9A3F35 #359A3F
tetradic
#3F359A #9A355D #909A35 #359A71
square
#3F359A #9A355D #909A35 #359A71
split-complementary
#3F359A #9A7135 #5D9A35
monochromatic
#1A163F #2C256C #3F359A #574BC1 #8179D1

Accessibility & contrast

On white

9.60
#3F359A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F359A
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F359A#FFFFFF#000000##FFFFFF
##3F359A1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#064E62
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f359a;
/* rgb */ color: rgb(63, 53, 154);
/* oklch */ color: oklch(40.4% 0.158 281.1);
Tailwind
colors: {
  custom: {
    50: '#7e6db9',
    500: '#3f359a',
    950: '#000000',
  },
}
SCSS
$custom: #3f359a;
$custom-light: #7e6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f359a",
  "rgb": {
    "r": 63,
    "g": 53,
    "b": 154
  },
  "hsl": {
    "h": 245.941,
    "s": 48.792,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40441,
    "c": 0.15795,
    "h": 281.1
  },
  "luminance": 0.05936
}

Semantic roles & 50–950 ramp

primary
#3F359A
secondary
#B2B971
accent
#D84FCB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #3F359A

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

Preview Lab → · Contrast checker → · Palette generator →

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