#3F3ED4#3F3ED4

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

Color values

HEX#3F3ED4
RGBrgb(63, 62, 212)
HSLhsl(240, 64%, 54%)
HSVhsv(240, 71%, 83%)
CMYKcmyk(70.3%, 70.8%, 0%, 16.9%)
CIE-LABlab(36.47, 47.90, -76.40)
CIE-LCHlch(36.47, 90.18, 302.09°)
OKLaboklab(47.25% 0.0161 -0.2209)
OKLCHoklch(47.25% 0.221 274.2)
XYZxyz(15.6522, 9.2540, 63.2359)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3ED4 #D3D43E
analogous
#3E88D4 #3F3ED4 #8A3ED4
triadic
#3F3ED4 #D43F3E #3ED43F
tetradic
#3F3ED4 #D43E88 #D3D43E #3ED48A
square
#3F3ED4 #D43E88 #D3D43E #3ED48A
split-complementary
#3F3ED4 #D48A3E #88D43E
monochromatic
#1C1C7C #2827AE #3F3ED4 #7170DF #A3A2EA

Accessibility & contrast

On white

7.37
#3F3ED4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3F3ED4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3ED4
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3ED4#FFFFFF#000000##FFFFFF
##3F3ED41.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD8
Deuteranopia (green-blind)
#004FD1
Tritanopia (blue-blind)
#006885
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f3ed4;
/* rgb */ color: rgb(63, 62, 212);
/* oklch */ color: oklch(47.3% 0.221 274.2);
Tailwind
colors: {
  custom: {
    50: '#8975e3',
    500: '#3f3ed4',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ed4;
$custom-light: #8975e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ed4",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 212
  },
  "hsl": {
    "h": 240.4,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.47252,
    "c": 0.22149,
    "h": 274.2
  },
  "luminance": 0.09255
}

Semantic roles & 50–950 ramp

primary
#3F3ED4
secondary
#D7D797
accent
#E741E5
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3F3ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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