#3F3FB7#3F3FB7

#3F3FB7 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.7% C 0.184 H 276.0°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#3F3FB7
RGBrgb(63, 63, 183)
HSLhsl(240, 49%, 48%)
HSVhsv(240, 66%, 72%)
CMYKcmyk(65.6%, 65.6%, 0%, 28.2%)
CIE-LABlab(34.04, 37.69, -63.45)
CIE-LCHlch(34.04, 73.80, 300.71°)
OKLaboklab(44.7% 0.0191 -0.183)
OKLCHoklch(44.7% 0.184 276)
XYZxyz(12.3719, 8.0296, 45.6885)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FB7 #B7B73F
analogous
#3F7BB7 #3F3FB7 #7B3FB7
triadic
#3F3FB7 #B73F3F #3FB73F
tetradic
#3F3FB7 #B73F7B #B7B73F #3FB77B
square
#3F3FB7 #B73F7B #B7B73F #3FB77B
split-complementary
#3F3FB7 #B77B3F #7BB73F
monochromatic
#20205C #2F2F89 #3F3FB7 #6868CB #9696DB

Accessibility & contrast

On white

8.06
#3F3FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3F3FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3FB7
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FB7#FFFFFF#000000##FFFFFF
##3F3FB71.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f3fb7;
/* rgb */ color: rgb(63, 63, 183);
/* oklch */ color: oklch(44.7% 0.184 276.0);
Tailwind
colors: {
  custom: {
    50: '#8374ce',
    500: '#3f3fb7',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fb7;
$custom-light: #8374ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fb7",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 240,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44698,
    "c": 0.18402,
    "h": 276
  },
  "luminance": 0.08031
}

Semantic roles & 50–950 ramp

primary
#3F3FB7
secondary
#C6C68B
accent
#D84FD8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3F3FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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