#3F3EB3#3F3EB3

#3F3EB3 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.2% C 0.180 H 276.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#3F3EB3
RGBrgb(63, 62, 179)
HSLhsl(241, 49%, 47%)
HSVhsv(241, 65%, 70%)
CMYKcmyk(64.8%, 65.4%, 0%, 29.8%)
CIE-LABlab(33.47, 36.95, -62.02)
CIE-LCHlch(33.47, 72.19, 300.79°)
OKLaboklab(44.17% 0.0203 -0.1788)
OKLCHoklch(44.17% 0.18 276.5)
XYZxyz(11.9066, 7.7557, 43.5086)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3EB3 #B2B33E
analogous
#3E77B3 #3F3EB3 #7A3EB3
triadic
#3F3EB3 #B33F3E #3EB33F
tetradic
#3F3EB3 #B33E77 #B2B33E #3EB37A
square
#3F3EB3 #B33E77 #B2B33E #3EB37A
split-complementary
#3F3EB3 #B37A3E #77B33E
monochromatic
#1F1F58 #2F2E86 #3F3EB3 #6665CA #9392D9

Accessibility & contrast

On white

8.23
#3F3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3F3EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3EB3
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3EB3#FFFFFF#000000##FFFFFF
##3F3EB31.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f3eb3;
/* rgb */ color: rgb(63, 62, 179);
/* oklch */ color: oklch(44.2% 0.180 276.5);
Tailwind
colors: {
  custom: {
    50: '#8274cb',
    500: '#3f3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #3f3eb3;
$custom-light: #8274cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3eb3",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 240.513,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44173,
    "c": 0.17999,
    "h": 276.5
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#3F3EB3
secondary
#C4C588
accent
#D850D7
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3F3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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