#3F3ED6#3F3ED6

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

Color values

HEX#3F3ED6
RGBrgb(63, 62, 214)
HSLhsl(240, 65%, 54%)
HSVhsv(240, 71%, 84%)
CMYKcmyk(70.6%, 71%, 0%, 16.1%)
CIE-LABlab(36.66, 48.55, -77.24)
CIE-LCHlch(36.66, 91.23, 302.15°)
OKLaboklab(47.45% 0.0158 -0.2233)
OKLCHoklch(47.45% 0.224 274.1)
XYZxyz(15.9061, 9.3555, 64.5728)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3ED6 #D5D63E
analogous
#3E89D6 #3F3ED6 #8B3ED6
triadic
#3F3ED6 #D63F3E #3ED63F
tetradic
#3F3ED6 #D63E89 #D5D63E #3ED68B
square
#3F3ED6 #D63E89 #D5D63E #3ED68B
split-complementary
#3F3ED6 #D68B3E #89D63E
monochromatic
#1C1B7F #2726B1 #3F3ED6 #7170E1 #A3A3EB

Accessibility & contrast

On white

7.31
#3F3ED6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3F3ED6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3ED6
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3ED6#FFFFFF#000000##FFFFFF
##3F3ED61.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDB
Deuteranopia (green-blind)
#004FD3
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f3ed6;
/* rgb */ color: rgb(63, 62, 214);
/* oklch */ color: oklch(47.4% 0.224 274.1);
Tailwind
colors: {
  custom: {
    50: '#8975e4',
    500: '#3f3ed6',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ed6;
$custom-light: #8975e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ed6",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 214
  },
  "hsl": {
    "h": 240.395,
    "s": 64.957,
    "l": 54.118
  },
  "oklch": {
    "l": 0.47446,
    "c": 0.22391,
    "h": 274.1
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

primary
#3F3ED6
secondary
#D8D898
accent
#E840E7
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3F3ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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