#3F359B#3F359B

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

Color values

HEX#3F359B
RGBrgb(63, 53, 155)
HSLhsl(246, 49%, 41%)
HSVhsv(246, 66%, 61%)
CMYKcmyk(59.4%, 65.8%, 0%, 39.2%)
CIE-LABlab(29.33, 34.48, -54.35)
CIE-LCHlch(29.33, 64.36, 302.39°)
OKLaboklab(40.53% 0.0304 -0.1564)
OKLCHoklch(40.53% 0.159 281)
XYZxyz(9.2375, 5.9689, 31.6693)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F359B #919B35
analogous
#355E9B #3F359B #72359B
triadic
#3F359B #9B3F35 #359B3F
tetradic
#3F359B #9B355E #919B35 #359B72
square
#3F359B #9B355E #919B35 #359B72
split-complementary
#3F359B #9B7235 #5E9B35
monochromatic
#1A1640 #2C256D #3F359B #574CC2 #8279D1

Accessibility & contrast

On white

9.57
#3F359B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F359B
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F359B#FFFFFF#000000##FFFFFF
##3F359B1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#044F63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f359b;
/* rgb */ color: rgb(63, 53, 155);
/* oklch */ color: oklch(40.5% 0.159 281.0);
Tailwind
colors: {
  custom: {
    50: '#7e6db9',
    500: '#3f359b',
    950: '#000000',
  },
}
SCSS
$custom: #3f359b;
$custom-light: #7e6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f359b",
  "rgb": {
    "r": 63,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 245.882,
    "s": 49.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40529,
    "c": 0.15929,
    "h": 281
  },
  "luminance": 0.0597
}

Semantic roles & 50–950 ramp

primary
#3F359B
secondary
#B3BA72
accent
#D94FCB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3F359B

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

Preview Lab → · Contrast checker → · Palette generator →

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