#3F3C8D#3F3C8D

#3F3C8D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.130 H 280.5°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#3F3C8D
RGBrgb(63, 60, 141)
HSLhsl(242, 40%, 39%)
HSVhsv(242, 57%, 55%)
CMYKcmyk(55.3%, 57.4%, 0%, 44.7%)
CIE-LABlab(29.94, 25.34, -44.79)
CIE-LCHlch(29.94, 51.46, 299.50°)
OKLaboklab(40.63% 0.0239 -0.1282)
OKLCHoklch(40.63% 0.13 280.5)
XYZxyz(8.4720, 6.2110, 25.9466)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3C8D #8A8D3C
analogous
#3C628D #3F3C8D #683C8D
triadic
#3F3C8D #8D3F3C #3C8D3F
tetradic
#3F3C8D #8D3C62 #8A8D3C #3C8D68
square
#3F3C8D #8D3C62 #8A8D3C #3C8D68
split-complementary
#3F3C8D #8D683C #628D3C
monochromatic
#191737 #2C2A62 #3F3C8D #5551B5 #7F7CC7

Accessibility & contrast

On white

9.36
#3F3C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3F3C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3C8D
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3C8D#FFFFFF#000000##FFFFFF
##3F3C8D1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024A90
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#1C4F5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f3c8d;
/* rgb */ color: rgb(63, 60, 141);
/* oklch */ color: oklch(40.6% 0.130 280.5);
Tailwind
colors: {
  custom: {
    50: '#7b72af',
    500: '#3f3c8d',
    950: '#000000',
  },
}
SCSS
$custom: #3f3c8d;
$custom-light: #7b72af;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3c8d",
  "rgb": {
    "r": 63,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 242.222,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40626,
    "c": 0.13042,
    "h": 280.5
  },
  "luminance": 0.06212
}

Semantic roles & 50–950 ramp

primary
#3F3C8D
secondary
#AFB174
accent
#D058CC
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #3F3C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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