#3F3ED5#3F3ED5

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

Color values

HEX#3F3ED5
RGBrgb(63, 62, 213)
HSLhsl(240, 64%, 54%)
HSVhsv(240, 71%, 84%)
CMYKcmyk(70.4%, 70.9%, 0%, 16.5%)
CIE-LABlab(36.56, 48.23, -76.82)
CIE-LCHlch(36.56, 90.71, 302.12°)
OKLaboklab(47.35% 0.016 -0.2221)
OKLCHoklch(47.35% 0.223 274.1)
XYZxyz(15.7788, 9.3046, 63.9023)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3ED5 #D4D53E
analogous
#3E89D5 #3F3ED5 #8B3ED5
triadic
#3F3ED5 #D53F3E #3ED53F
tetradic
#3F3ED5 #D53E89 #D4D53E #3ED58B
square
#3F3ED5 #D53E89 #D4D53E #3ED58B
split-complementary
#3F3ED5 #D58B3E #89D53E
monochromatic
#1C1B7D #2726B0 #3F3ED5 #7170E0 #A3A3EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F3ED5#FFFFFF#000000##FFFFFF
##3F3ED51.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)
#005DD9
Deuteranopia (green-blind)
#004FD2
Tritanopia (blue-blind)
#006885
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f3ed5;
/* rgb */ color: rgb(63, 62, 213);
/* oklch */ color: oklch(47.3% 0.223 274.1);
Tailwind
colors: {
  custom: {
    50: '#8975e3',
    500: '#3f3ed5',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ed5;
$custom-light: #8975e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ed5",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 240.397,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.47349,
    "c": 0.2227,
    "h": 274.1
  },
  "luminance": 0.09306
}

Semantic roles & 50–950 ramp

primary
#3F3ED5
secondary
#D7D897
accent
#E741E6
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3F3ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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