#3F3FD6#3F3FD6

#3F3FD6 is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.6% C 0.223 H 273.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#3F3FD6
RGBrgb(63, 63, 214)
HSLhsl(240, 65%, 54%)
HSVhsv(240, 71%, 84%)
CMYKcmyk(70.6%, 70.6%, 0%, 16.1%)
CIE-LABlab(36.87, 47.99, -76.90)
CIE-LCHlch(36.87, 90.64, 301.96°)
OKLaboklab(47.59% 0.0153 -0.2224)
OKLCHoklch(47.59% 0.223 273.9)
XYZxyz(15.9610, 9.4653, 64.5911)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FD6 #D6D63F
analogous
#3F8BD6 #3F3FD6 #8B3FD6
triadic
#3F3FD6 #D63F3F #3FD63F
tetradic
#3F3FD6 #D63F8B #D6D63F #3FD68B
square
#3F3FD6 #D63F8B #D6D63F #3FD68B
split-complementary
#3F3FD6 #D68B3F #8BD63F
monochromatic
#1B1B7F #2626B2 #3F3FD6 #7171E1 #A4A4EC

Accessibility & contrast

On white

7.26
#3F3FD6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3F3FD6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3FD6
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FD6#FFFFFF#000000##FFFFFF
##3F3FD61.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDB
Deuteranopia (green-blind)
#0050D3
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f3fd6;
/* rgb */ color: rgb(63, 63, 214);
/* oklch */ color: oklch(47.6% 0.223 273.9);
Tailwind
colors: {
  custom: {
    50: '#8975e4',
    500: '#3f3fd6',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fd6;
$custom-light: #8975e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fd6",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 214
  },
  "hsl": {
    "h": 240,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.47593,
    "c": 0.22289,
    "h": 273.9
  },
  "luminance": 0.09467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F3FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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