#3F3CB4#3F3CB4

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

Color values

HEX#3F3CB4
RGBrgb(63, 60, 180)
HSLhsl(242, 50%, 47%)
HSVhsv(242, 67%, 71%)
CMYKcmyk(65%, 66.7%, 0%, 29.4%)
CIE-LABlab(33.10, 38.51, -63.22)
CIE-LCHlch(33.10, 74.03, 301.35°)
OKLaboklab(43.93% 0.0218 -0.1824)
OKLCHoklch(43.93% 0.184 276.8)
XYZxyz(11.9013, 7.5828, 44.0076)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3CB4 #B1B43C
analogous
#3C75B4 #3F3CB4 #7B3CB4
triadic
#3F3CB4 #B43F3C #3CB43F
tetradic
#3F3CB4 #B43C75 #B1B43C #3CB47B
square
#3F3CB4 #B43C75 #B1B43C #3CB47B
split-complementary
#3F3CB4 #B47B3C #75B43C
monochromatic
#1F1D58 #2F2D86 #3F3CB4 #6562CB #9290DA

Accessibility & contrast

On white

8.34
#3F3CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3F3CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3CB4
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3CB4#FFFFFF#000000##FFFFFF
##3F3CB41.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f3cb4;
/* rgb */ color: rgb(63, 60, 180);
/* oklch */ color: oklch(43.9% 0.184 276.8);
Tailwind
colors: {
  custom: {
    50: '#8272cb',
    500: '#3f3cb4',
    950: '#000000',
  },
}
SCSS
$custom: #3f3cb4;
$custom-light: #8272cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3cb4",
  "rgb": {
    "r": 63,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 241.5,
    "s": 50,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4393,
    "c": 0.18365,
    "h": 276.8
  },
  "luminance": 0.07584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F3CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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