#3F3FD3#3F3FD3

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

Color values

HEX#3F3FD3
RGBrgb(63, 63, 211)
HSLhsl(240, 63%, 54%)
HSVhsv(240, 70%, 83%)
CMYKcmyk(70.1%, 70.1%, 0%, 17.3%)
CIE-LABlab(36.58, 47.01, -75.64)
CIE-LCHlch(36.58, 89.06, 301.86°)
OKLaboklab(47.3% 0.0157 -0.2187)
OKLCHoklch(47.3% 0.219 274.1)
XYZxyz(15.5814, 9.3134, 62.5919)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FD3 #D3D33F
analogous
#3F89D3 #3F3FD3 #893FD3
triadic
#3F3FD3 #D33F3F #3FD33F
tetradic
#3F3FD3 #D33F89 #D3D33F #3FD389
square
#3F3FD3 #D33F89 #D3D33F #3FD389
split-complementary
#3F3FD3 #D3893F #89D33F
monochromatic
#1C1C7B #2828AD #3F3FD3 #7171DE #A3A3EA

Accessibility & contrast

On white

7.33
#3F3FD3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F3FD3
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FD3#FFFFFF#000000##FFFFFF
##3F3FD31.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD7
Deuteranopia (green-blind)
#004FD0
Tritanopia (blue-blind)
#006884
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f3fd3;
/* rgb */ color: rgb(63, 63, 211);
/* oklch */ color: oklch(47.3% 0.219 274.1);
Tailwind
colors: {
  custom: {
    50: '#8875e2',
    500: '#3f3fd3',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fd3;
$custom-light: #8875e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fd3",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 211
  },
  "hsl": {
    "h": 240,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.47304,
    "c": 0.21924,
    "h": 274.1
  },
  "luminance": 0.09315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F3FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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