#3F3CB6#3F3CB6

#3F3CB6 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.1% C 0.186 H 276.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#3F3CB6
RGBrgb(63, 60, 182)
HSLhsl(241, 50%, 47%)
HSVhsv(241, 67%, 71%)
CMYKcmyk(65.4%, 67%, 0%, 28.6%)
CIE-LABlab(33.27, 39.18, -64.12)
CIE-LCHlch(33.27, 75.14, 301.43°)
OKLaboklab(44.11% 0.0215 -0.185)
OKLCHoklch(44.11% 0.186 276.6)
XYZxyz(12.1065, 7.6649, 45.0884)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3CB6 #B3B63C
analogous
#3C76B6 #3F3CB6 #7C3CB6
triadic
#3F3CB6 #B63F3C #3CB63F
tetradic
#3F3CB6 #B63C76 #B3B63C #3CB67C
square
#3F3CB6 #B63C76 #B3B63C #3CB67C
split-complementary
#3F3CB6 #B67C3C #76B63C
monochromatic
#1F1E5A #2F2D88 #3F3CB6 #6663CC #9391DB

Accessibility & contrast

On white

8.29
#3F3CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3F3CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3CB6
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3CB6#FFFFFF#000000##FFFFFF
##3F3CB61.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f3cb6;
/* rgb */ color: rgb(63, 60, 182);
/* oklch */ color: oklch(44.1% 0.186 276.6);
Tailwind
colors: {
  custom: {
    50: '#8372cd',
    500: '#3f3cb6',
    950: '#000000',
  },
}
SCSS
$custom: #3f3cb6;
$custom-light: #8372cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3cb6",
  "rgb": {
    "r": 63,
    "g": 60,
    "b": 182
  },
  "hsl": {
    "h": 241.475,
    "s": 50.413,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44113,
    "c": 0.18624,
    "h": 276.6
  },
  "luminance": 0.07666
}

Semantic roles & 50–950 ramp

primary
#3F3CB6
secondary
#C4C688
accent
#DA4ED6
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3F3CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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