#3F3DB7#3F3DB7

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

Color values

HEX#3F3DB7
RGBrgb(63, 61, 183)
HSLhsl(241, 50%, 48%)
HSVhsv(241, 67%, 72%)
CMYKcmyk(65.6%, 66.7%, 0%, 28.2%)
CIE-LABlab(33.59, 38.91, -64.19)
CIE-LCHlch(33.59, 75.07, 301.22°)
OKLaboklab(44.37% 0.0207 -0.1852)
OKLCHoklch(44.37% 0.186 276.4)
XYZxyz(12.2631, 7.8121, 45.6522)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3DB7 #B5B73D
analogous
#3D78B7 #3F3DB7 #7C3DB7
triadic
#3F3DB7 #B73F3D #3DB73F
tetradic
#3F3DB7 #B73D78 #B5B73D #3DB77C
square
#3F3DB7 #B73D78 #B5B73D #3DB77C
split-complementary
#3F3DB7 #B77C3D #78B73D
monochromatic
#1F1E5B #2F2E89 #3F3DB7 #6765CC #9493DB

Accessibility & contrast

On white

8.19
#3F3DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3F3DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3DB7
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3DB7#FFFFFF#000000##FFFFFF
##3F3DB71.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f3db7;
/* rgb */ color: rgb(63, 61, 183);
/* oklch */ color: oklch(44.4% 0.186 276.4);
Tailwind
colors: {
  custom: {
    50: '#8373ce',
    500: '#3f3db7',
    950: '#000000',
  },
}
SCSS
$custom: #3f3db7;
$custom-light: #8373ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3db7",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 240.984,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44367,
    "c": 0.18636,
    "h": 276.4
  },
  "luminance": 0.07813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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