#3F3FD5#3F3FD5

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

Color values

HEX#3F3FD5
RGBrgb(63, 63, 213)
HSLhsl(240, 64%, 54%)
HSVhsv(240, 70%, 84%)
CMYKcmyk(70.4%, 70.4%, 0%, 16.5%)
CIE-LABlab(36.77, 47.66, -76.48)
CIE-LCHlch(36.77, 90.12, 301.93°)
OKLaboklab(47.5% 0.0154 -0.2211)
OKLCHoklch(47.5% 0.222 274)
XYZxyz(15.8336, 9.4143, 63.9206)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FD5 #D5D53F
analogous
#3F8AD5 #3F3FD5 #8A3FD5
triadic
#3F3FD5 #D53F3F #3FD53F
tetradic
#3F3FD5 #D53F8A #D5D53F #3FD58A
square
#3F3FD5 #D53F8A #D5D53F #3FD58A
split-complementary
#3F3FD5 #D58A3F #8AD53F
monochromatic
#1C1C7E #2727B0 #3F3FD5 #7171E0 #A3A3EB

Accessibility & contrast

On white

7.28
#3F3FD5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F3FD5
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FD5#FFFFFF#000000##FFFFFF
##3F3FD51.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f3fd5;
/* rgb */ color: rgb(63, 63, 213);
/* oklch */ color: oklch(47.5% 0.222 274.0);
Tailwind
colors: {
  custom: {
    50: '#8975e3',
    500: '#3f3fd5',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fd5;
$custom-light: #8975e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fd5",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 213
  },
  "hsl": {
    "h": 240,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.47497,
    "c": 0.22168,
    "h": 274
  },
  "luminance": 0.09416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F3FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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