#3F3E7B#3F3E7B

#3F3E7B is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.7% C 0.101 H 281.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#3F3E7B
RGBrgb(63, 62, 123)
HSLhsl(241, 33%, 36%)
HSVhsv(241, 50%, 48%)
CMYKcmyk(48.8%, 49.6%, 0%, 51.8%)
CIE-LABlab(29.24, 17.99, -34.72)
CIE-LCHlch(29.24, 39.10, 297.39°)
OKLaboklab(39.71% 0.0201 -0.0986)
OKLCHoklch(39.71% 0.101 281.5)
XYZxyz(7.3466, 5.9317, 19.4929)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3E7B #7A7B3E
analogous
#3E5C7B #3F3E7B #5E3E7B
triadic
#3F3E7B #7B3F3E #3E7B3F
tetradic
#3F3E7B #7B3E5C #7A7B3E #3E7B5E
square
#3F3E7B #7B3E5C #7A7B3E #3E7B5E
split-complementary
#3F3E7B #7B5E3E #5C7B3E
monochromatic
#15152A #2A2952 #3F3E7B #5453A4 #7978BB

Accessibility & contrast

On white

9.60
#3F3E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3F3E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3E7B
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3E7B#FFFFFF#000000##FFFFFF
##3F3E7B1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477D
Deuteranopia (green-blind)
#20437A
Tritanopia (blue-blind)
#2A4B56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f3e7b;
/* rgb */ color: rgb(63, 62, 123);
/* oklch */ color: oklch(39.7% 0.101 281.5);
Tailwind
colors: {
  custom: {
    50: '#7873a1',
    500: '#3f3e7b',
    950: '#000000',
  },
}
SCSS
$custom: #3f3e7b;
$custom-light: #7873a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3e7b",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 123
  },
  "hsl": {
    "h": 240.984,
    "s": 32.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39706,
    "c": 0.10064,
    "h": 281.5
  },
  "luminance": 0.05932
}

Semantic roles & 50–950 ramp

primary
#3F3E7B
secondary
#A4A56F
accent
#C95FC7
background
#F7F6FA
surface
#EDECF3
border
#C8C7CD
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #3F3E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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