#3F3CB5#3F3CB5

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

Color values

HEX#3F3CB5
RGBrgb(63, 60, 181)
HSLhsl(241, 50%, 47%)
HSVhsv(241, 67%, 71%)
CMYKcmyk(65.2%, 66.9%, 0%, 29%)
CIE-LABlab(33.19, 38.85, -63.67)
CIE-LCHlch(33.19, 74.58, 301.39°)
OKLaboklab(44.02% 0.0217 -0.1837)
OKLCHoklch(44.02% 0.185 276.7)
XYZxyz(12.0035, 7.6237, 44.5461)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3CB5 #B2B53C
analogous
#3C75B5 #3F3CB5 #7C3CB5
triadic
#3F3CB5 #B53F3C #3CB53F
tetradic
#3F3CB5 #B53C75 #B2B53C #3CB57C
square
#3F3CB5 #B53C75 #B2B53C #3CB57C
split-complementary
#3F3CB5 #B57C3C #75B53C
monochromatic
#1F1E59 #2F2D87 #3F3CB5 #6663CB #9391DB

Accessibility & contrast

On white

8.32
#3F3CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F3CB5
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3CB5#FFFFFF#000000##FFFFFF
##3F3CB51.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f3cb5;
/* rgb */ color: rgb(63, 60, 181);
/* oklch */ color: oklch(44.0% 0.185 276.7);
Tailwind
colors: {
  custom: {
    50: '#8272cc',
    500: '#3f3cb5',
    950: '#000000',
  },
}
SCSS
$custom: #3f3cb5;
$custom-light: #8272cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3cb5",
  "rgb": {
    "r": 63,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 241.488,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44021,
    "c": 0.18494,
    "h": 276.7
  },
  "luminance": 0.07625
}

Semantic roles & 50–950 ramp

primary
#3F3CB5
secondary
#C4C687
accent
#DA4ED6
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3F3CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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