#3F3DB4#3F3DB4

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

Color values

HEX#3F3DB4
RGBrgb(63, 61, 180)
HSLhsl(241, 49%, 47%)
HSVhsv(241, 66%, 71%)
CMYKcmyk(65%, 66.1%, 0%, 29.4%)
CIE-LABlab(33.33, 37.90, -62.85)
CIE-LCHlch(33.33, 73.39, 301.09°)
OKLaboklab(44.1% 0.021 -0.1813)
OKLCHoklch(44.1% 0.182 276.6)
XYZxyz(11.9542, 7.6885, 44.0252)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3DB4 #B2B43D
analogous
#3D77B4 #3F3DB4 #7A3DB4
triadic
#3F3DB4 #B43F3D #3DB43F
tetradic
#3F3DB4 #B43D77 #B2B43D #3DB47A
square
#3F3DB4 #B43D77 #B2B43D #3DB47A
split-complementary
#3F3DB4 #B47A3D #77B43D
monochromatic
#1F1E59 #2F2E86 #3F3DB4 #6664CA #9392DA

Accessibility & contrast

On white

8.27
#3F3DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3F3DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3DB4
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3DB4#FFFFFF#000000##FFFFFF
##3F3DB41.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f3db4;
/* rgb */ color: rgb(63, 61, 180);
/* oklch */ color: oklch(44.1% 0.182 276.6);
Tailwind
colors: {
  custom: {
    50: '#8273cb',
    500: '#3f3db4',
    950: '#000000',
  },
}
SCSS
$custom: #3f3db4;
$custom-light: #8273cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3db4",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 180
  },
  "hsl": {
    "h": 241.008,
    "s": 49.378,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44095,
    "c": 0.18248,
    "h": 276.6
  },
  "luminance": 0.0769
}

Semantic roles & 50–950 ramp

primary
#3F3DB4
secondary
#C4C588
accent
#D94FD7
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3F3DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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