#3F3DB5#3F3DB5

#3F3DB5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.2% C 0.184 H 276.5°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#3F3DB5
RGBrgb(63, 61, 181)
HSLhsl(241, 50%, 47%)
HSVhsv(241, 66%, 71%)
CMYKcmyk(65.2%, 66.3%, 0%, 29%)
CIE-LABlab(33.41, 38.24, -63.30)
CIE-LCHlch(33.41, 73.95, 301.14°)
OKLaboklab(44.19% 0.0209 -0.1826)
OKLCHoklch(44.19% 0.184 276.5)
XYZxyz(12.0564, 7.7294, 44.5637)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3DB5 #B3B53D
analogous
#3D77B5 #3F3DB5 #7B3DB5
triadic
#3F3DB5 #B53F3D #3DB53F
tetradic
#3F3DB5 #B53D77 #B3B53D #3DB57B
square
#3F3DB5 #B53D77 #B3B53D #3DB57B
split-complementary
#3F3DB5 #B57B3D #77B53D
monochromatic
#1F1E59 #2F2E87 #3F3DB5 #6664CB #9392DA

Accessibility & contrast

On white

8.25
#3F3DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3F3DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3DB5
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3DB5#FFFFFF#000000##FFFFFF
##3F3DB51.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f3db5;
/* rgb */ color: rgb(63, 61, 181);
/* oklch */ color: oklch(44.2% 0.184 276.5);
Tailwind
colors: {
  custom: {
    50: '#8273cc',
    500: '#3f3db5',
    950: '#000000',
  },
}
SCSS
$custom: #3f3db5;
$custom-light: #8273cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3db5",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 241,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44186,
    "c": 0.18378,
    "h": 276.5
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F3DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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