#3F3DD7#3F3DD7

#3F3DD7 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.4% C 0.226 H 274.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#3F3DD7
RGBrgb(63, 61, 215)
HSLhsl(241, 66%, 54%)
HSVhsv(241, 72%, 84%)
CMYKcmyk(70.7%, 71.6%, 0%, 15.7%)
CIE-LABlab(36.55, 49.44, -77.99)
CIE-LCHlch(36.55, 92.34, 302.37°)
OKLaboklab(47.4% 0.0162 -0.2255)
OKLCHoklch(47.4% 0.226 274.1)
XYZxyz(15.9803, 9.2990, 65.2295)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3DD7 #D5D73D
analogous
#3D88D7 #3F3DD7 #8C3DD7
triadic
#3F3DD7 #D73F3D #3DD73F
tetradic
#3F3DD7 #D73D88 #D5D73D #3DD78C
square
#3F3DD7 #D73D88 #D5D73D #3DD78C
split-complementary
#3F3DD7 #D78C3D #88D73D
monochromatic
#1C1A7F #2725B2 #3F3DD7 #7170E1 #A3A2EC

Accessibility & contrast

On white

7.34
#3F3DD7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3F3DD7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3DD7
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3DD7#FFFFFF#000000##FFFFFF
##3F3DD71.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDC
Deuteranopia (green-blind)
#004FD4
Tritanopia (blue-blind)
#006886
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f3dd7;
/* rgb */ color: rgb(63, 61, 215);
/* oklch */ color: oklch(47.4% 0.226 274.1);
Tailwind
colors: {
  custom: {
    50: '#8974e5',
    500: '#3f3dd7',
    950: '#000000',
  },
}
SCSS
$custom: #3f3dd7;
$custom-light: #8974e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3dd7",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 215
  },
  "hsl": {
    "h": 240.779,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.474,
    "c": 0.22612,
    "h": 274.1
  },
  "luminance": 0.09301
}

Semantic roles & 50–950 ramp

primary
#3F3DD7
secondary
#D8D997
accent
#E93FE7
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3F3DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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