#3F3BB6#3F3BB6

#3F3BB6 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.0% C 0.187 H 276.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#3F3BB6
RGBrgb(63, 59, 182)
HSLhsl(242, 51%, 47%)
HSVhsv(242, 68%, 71%)
CMYKcmyk(65.4%, 67.6%, 0%, 28.6%)
CIE-LABlab(33.05, 39.78, -64.48)
CIE-LCHlch(33.05, 75.77, 301.67°)
OKLaboklab(43.95% 0.0223 -0.1861)
OKLCHoklch(43.95% 0.187 276.8)
XYZxyz(12.0546, 7.5611, 45.0711)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3BB6 #B2B63B
analogous
#3B75B6 #3F3BB6 #7C3BB6
triadic
#3F3BB6 #B63F3B #3BB63F
tetradic
#3F3BB6 #B63B75 #B2B63B #3BB67C
square
#3F3BB6 #B63B75 #B2B63B #3BB67C
split-complementary
#3F3BB6 #B67C3B #75B63B
monochromatic
#1F1D5A #2F2C88 #3F3BB6 #6662CC #9390DB

Accessibility & contrast

On white

8.36
#3F3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3F3BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3BB6
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3BB6#FFFFFF#000000##FFFFFF
##3F3BB61.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0048B4
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f3bb6;
/* rgb */ color: rgb(63, 59, 182);
/* oklch */ color: oklch(44.0% 0.187 276.8);
Tailwind
colors: {
  custom: {
    50: '#8372cd',
    500: '#3f3bb6',
    950: '#000000',
  },
}
SCSS
$custom: #3f3bb6;
$custom-light: #8372cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3bb6",
  "rgb": {
    "r": 63,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 241.951,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43951,
    "c": 0.18739,
    "h": 276.8
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#3F3BB6
secondary
#C4C687
accent
#DB4DD6
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3F3BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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