#3F3EB7#3F3EB7

#3F3EB7 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.5% C 0.185 H 276.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#3F3EB7
RGBrgb(63, 62, 183)
HSLhsl(240, 49%, 48%)
HSVhsv(240, 66%, 72%)
CMYKcmyk(65.6%, 66.1%, 0%, 28.2%)
CIE-LABlab(33.82, 38.30, -63.82)
CIE-LCHlch(33.82, 74.43, 300.97°)
OKLaboklab(44.53% 0.0199 -0.1841)
OKLCHoklch(44.53% 0.185 276.2)
XYZxyz(12.3170, 7.9199, 45.6702)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3EB7 #B6B73E
analogous
#3E79B7 #3F3EB7 #7B3EB7
triadic
#3F3EB7 #B73F3E #3EB73F
tetradic
#3F3EB7 #B73E79 #B6B73E #3EB77B
square
#3F3EB7 #B73E79 #B6B73E #3EB77B
split-complementary
#3F3EB7 #B77B3E #79B73E
monochromatic
#201F5C #2F2F89 #3F3EB7 #6867CB #9594DB

Accessibility & contrast

On white

8.13
#3F3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3F3EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3EB7
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3EB7#FFFFFF#000000##FFFFFF
##3F3EB71.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f3eb7;
/* rgb */ color: rgb(63, 62, 183);
/* oklch */ color: oklch(44.5% 0.185 276.2);
Tailwind
colors: {
  custom: {
    50: '#8374ce',
    500: '#3f3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #3f3eb7;
$custom-light: #8374ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3eb7",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 240.496,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44532,
    "c": 0.18519,
    "h": 276.2
  },
  "luminance": 0.07921
}

Semantic roles & 50–950 ramp

primary
#3F3EB7
secondary
#C6C68A
accent
#D94FD8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3F3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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