#3F3DB6#3F3DB6

#3F3DB6 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.3% C 0.185 H 276.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#3F3DB6
RGBrgb(63, 61, 182)
HSLhsl(241, 50%, 48%)
HSVhsv(241, 66%, 71%)
CMYKcmyk(65.4%, 66.5%, 0%, 28.6%)
CIE-LABlab(33.50, 38.57, -63.75)
CIE-LCHlch(33.50, 74.51, 301.18°)
OKLaboklab(44.28% 0.0208 -0.1839)
OKLCHoklch(44.28% 0.185 276.4)
XYZxyz(12.1594, 7.7706, 45.1060)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3DB6 #B4B63D
analogous
#3D77B6 #3F3DB6 #7C3DB6
triadic
#3F3DB6 #B63F3D #3DB63F
tetradic
#3F3DB6 #B63D77 #B4B63D #3DB67C
square
#3F3DB6 #B63D77 #B4B63D #3DB67C
split-complementary
#3F3DB6 #B67C3D #77B63D
monochromatic
#1F1E5A #2F2E88 #3F3DB6 #6765CB #9493DB

Accessibility & contrast

On white

8.22
#3F3DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3F3DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3DB6
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3DB6#FFFFFF#000000##FFFFFF
##3F3DB61.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0049B4
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f3db6;
/* rgb */ color: rgb(63, 61, 182);
/* oklch */ color: oklch(44.3% 0.185 276.4);
Tailwind
colors: {
  custom: {
    50: '#8373cd',
    500: '#3f3db6',
    950: '#000000',
  },
}
SCSS
$custom: #3f3db6;
$custom-light: #8373cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3db6",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 182
  },
  "hsl": {
    "h": 240.992,
    "s": 49.794,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44276,
    "c": 0.18507,
    "h": 276.4
  },
  "luminance": 0.07772
}

Semantic roles & 50–950 ramp

primary
#3F3DB6
secondary
#C5C689
accent
#D94ED7
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3F3DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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