#3F3CD5#3F3CD5

#3F3CD5 is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.1% C 0.225 H 274.4°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#3F3CD5
RGBrgb(63, 60, 213)
HSLhsl(241, 65%, 54%)
HSVhsv(241, 72%, 84%)
CMYKcmyk(70.4%, 71.8%, 0%, 16.5%)
CIE-LABlab(36.16, 49.35, -77.49)
CIE-LCHlch(36.16, 91.87, 302.49°)
OKLaboklab(47.06% 0.0171 -0.2241)
OKLCHoklch(47.06% 0.225 274.4)
XYZxyz(15.6720, 9.0911, 63.8667)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3CD5 #D2D53C
analogous
#3C86D5 #3F3CD5 #8B3CD5
triadic
#3F3CD5 #D53F3C #3CD53F
tetradic
#3F3CD5 #D53C86 #D2D53C #3CD58B
square
#3F3CD5 #D53C86 #D2D53C #3CD58B
split-complementary
#3F3CD5 #D58B3C #86D53C
monochromatic
#1D1B7C #2826AE #3F3CD5 #716EE0 #A2A1EB

Accessibility & contrast

On white

7.45
#3F3CD5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3F3CD5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3CD5
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3CD5#FFFFFF#000000##FFFFFF
##3F3CD51.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDA
Deuteranopia (green-blind)
#004ED2
Tritanopia (blue-blind)
#006785
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f3cd5;
/* rgb */ color: rgb(63, 60, 213);
/* oklch */ color: oklch(47.1% 0.225 274.4);
Tailwind
colors: {
  custom: {
    50: '#8973e3',
    500: '#3f3cd5',
    950: '#000000',
  },
}
SCSS
$custom: #3f3cd5;
$custom-light: #8973e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3cd5",
  "rgb": {
    "r": 63,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 241.176,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.4706,
    "c": 0.22472,
    "h": 274.4
  },
  "luminance": 0.09093
}

Semantic roles & 50–950 ramp

primary
#3F3CD5
secondary
#D6D796
accent
#E840E4
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3F3CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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