#3F3DB3#3F3DB3

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

Color values

HEX#3F3DB3
RGBrgb(63, 61, 179)
HSLhsl(241, 49%, 47%)
HSVhsv(241, 66%, 70%)
CMYKcmyk(64.8%, 65.9%, 0%, 29.8%)
CIE-LABlab(33.24, 37.57, -62.40)
CIE-LCHlch(33.24, 72.83, 301.05°)
OKLaboklab(44.01% 0.0211 -0.1799)
OKLCHoklch(44.01% 0.181 276.7)
XYZxyz(11.8527, 7.6479, 43.4907)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3DB3 #B1B33D
analogous
#3D76B3 #3F3DB3 #7A3DB3
triadic
#3F3DB3 #B33F3D #3DB33F
tetradic
#3F3DB3 #B33D76 #B1B33D #3DB37A
square
#3F3DB3 #B33D76 #B1B33D #3DB37A
split-complementary
#3F3DB3 #B37A3D #76B33D
monochromatic
#1F1E58 #2F2D85 #3F3DB3 #6563CA #9291D9

Accessibility & contrast

On white

8.30
#3F3DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F3DB3
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3DB3#FFFFFF#000000##FFFFFF
##3F3DB31.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f3db3;
/* rgb */ color: rgb(63, 61, 179);
/* oklch */ color: oklch(44.0% 0.181 276.7);
Tailwind
colors: {
  custom: {
    50: '#8273cb',
    500: '#3f3db3',
    950: '#000000',
  },
}
SCSS
$custom: #3f3db3;
$custom-light: #8273cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3db3",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 241.017,
    "s": 49.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44005,
    "c": 0.18117,
    "h": 276.7
  },
  "luminance": 0.07649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F3DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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