#3F3D99#3F3D99

#3F3D99 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.146 H 279.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#3F3D99
RGBrgb(63, 61, 153)
HSLhsl(241, 43%, 42%)
HSVhsv(241, 60%, 60%)
CMYKcmyk(58.8%, 60.1%, 0%, 40%)
CIE-LABlab(31.10, 28.76, -50.26)
CIE-LCHlch(31.10, 57.91, 299.78°)
OKLaboklab(41.77% 0.0228 -0.1443)
OKLCHoklch(41.77% 0.146 279)
XYZxyz(9.4666, 6.6935, 30.9239)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3D99 #97993D
analogous
#3D6999 #3F3D99 #6D3D99
triadic
#3F3D99 #993F3D #3D993F
tetradic
#3F3D99 #993D69 #97993D #3D996D
square
#3F3D99 #993D69 #97993D #3D996D
split-complementary
#3F3D99 #996D3D #69993D
monochromatic
#1B1A41 #2D2C6D #3F3D99 #5957BC #8583CE

Accessibility & contrast

On white

8.98
#3F3D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3F3D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3D99
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3D99#FFFFFF#000000##FFFFFF
##3F3D991.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#065365
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3f3d99;
/* rgb */ color: rgb(63, 61, 153);
/* oklch */ color: oklch(41.8% 0.146 279.0);
Tailwind
colors: {
  custom: {
    50: '#7d72b8',
    500: '#3f3d99',
    950: '#000000',
  },
}
SCSS
$custom: #3f3d99;
$custom-light: #7d72b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3d99",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 153
  },
  "hsl": {
    "h": 241.304,
    "s": 42.991,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41771,
    "c": 0.14608,
    "h": 279
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#3F3D99
secondary
#B6B87A
accent
#D355D0
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3F3D99

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

Preview Lab → · Contrast checker → · Palette generator →

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