#3F3E95#3F3E95

#3F3E95 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.139 H 279.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#3F3E95
RGBrgb(63, 62, 149)
HSLhsl(241, 41%, 41%)
HSVhsv(241, 58%, 58%)
CMYKcmyk(57.7%, 58.4%, 0%, 41.6%)
CIE-LABlab(31.05, 26.75, -47.91)
CIE-LCHlch(31.05, 54.87, 299.18°)
OKLaboklab(41.64% 0.0217 -0.1374)
OKLCHoklch(41.64% 0.139 279)
XYZxyz(9.1956, 6.6713, 29.2311)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3E95 #94953E
analogous
#3E6995 #3F3E95 #6B3E95
triadic
#3F3E95 #953F3E #3E953F
tetradic
#3F3E95 #953E69 #94953E #3E956B
square
#3F3E95 #953E69 #94953E #3E956B
split-complementary
#3F3E95 #956B3E #69953E
monochromatic
#1A1A3F #2D2C6A #3F3E95 #5857B9 #8382CB

Accessibility & contrast

On white

9.00
#3F3E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3F3E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3E95
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3E95#FFFFFF#000000##FFFFFF
##3F3E951.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#105263
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3f3e95;
/* rgb */ color: rgb(63, 62, 149);
/* oklch */ color: oklch(41.6% 0.139 279.0);
Tailwind
colors: {
  custom: {
    50: '#7c73b5',
    500: '#3f3e95',
    950: '#000000',
  },
}
SCSS
$custom: #3f3e95;
$custom-light: #7c73b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3e95",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 240.69,
    "s": 41.232,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41636,
    "c": 0.13908,
    "h": 279
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

primary
#3F3E95
secondary
#B5B57A
accent
#D157D0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3F3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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