#3F3ED7#3F3ED7

#3F3ED7 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.5% C 0.225 H 274.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#3F3ED7
RGBrgb(63, 62, 215)
HSLhsl(240, 66%, 54%)
HSVhsv(240, 71%, 84%)
CMYKcmyk(70.7%, 71.2%, 0%, 15.7%)
CIE-LABlab(36.76, 48.88, -77.66)
CIE-LCHlch(36.76, 91.76, 302.19°)
OKLaboklab(47.54% 0.0157 -0.2246)
OKLCHoklch(47.54% 0.225 274)
XYZxyz(16.0342, 9.4067, 65.2475)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3ED7 #D6D73E
analogous
#3E8AD7 #3F3ED7 #8C3ED7
triadic
#3F3ED7 #D73F3E #3ED73F
tetradic
#3F3ED7 #D73E8A #D6D73E #3ED78C
square
#3F3ED7 #D73E8A #D6D73E #3ED78C
split-complementary
#3F3ED7 #D78C3E #8AD73E
monochromatic
#1B1B80 #2625B3 #3F3ED7 #7171E2 #A4A3EC

Accessibility & contrast

On white

7.29
#3F3ED7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3F3ED7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3ED7
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3ED7#FFFFFF#000000##FFFFFF
##3F3ED71.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f3ed7;
/* rgb */ color: rgb(63, 62, 215);
/* oklch */ color: oklch(47.5% 0.225 274.0);
Tailwind
colors: {
  custom: {
    50: '#8975e5',
    500: '#3f3ed7',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ed7;
$custom-light: #8975e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ed7",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 215
  },
  "hsl": {
    "h": 240.392,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.47544,
    "c": 0.22512,
    "h": 274
  },
  "luminance": 0.09408
}

Semantic roles & 50–950 ramp

primary
#3F3ED7
secondary
#D8D998
accent
#E93FE8
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3F3ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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