#3F3D7A#3F3D7A

#3F3D7A is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.4% C 0.101 H 282.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#3F3D7A
RGBrgb(63, 61, 122)
HSLhsl(242, 33%, 36%)
HSVhsv(242, 50%, 48%)
CMYKcmyk(48.4%, 50%, 0%, 52.2%)
CIE-LABlab(28.90, 18.33, -34.64)
CIE-LCHlch(28.90, 39.19, 297.88°)
OKLaboklab(39.43% 0.0213 -0.0984)
OKLCHoklch(39.43% 0.101 282.2)
XYZxyz(7.2304, 5.7990, 19.1469)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3D7A #787A3D
analogous
#3D597A #3F3D7A #5D3D7A
triadic
#3F3D7A #7A3F3D #3D7A3F
tetradic
#3F3D7A #7A3D59 #787A3D #3D7A5D
square
#3F3D7A #7A3D59 #787A3D #3D7A5D
split-complementary
#3F3D7A #7A5D3D #597A3D
monochromatic
#151428 #2A2951 #3F3D7A #5451A3 #7977BB

Accessibility & contrast

On white

9.72
#3F3D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3F3D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3D7A
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3D7A#FFFFFF#000000##FFFFFF
##3F3D7A1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467C
Deuteranopia (green-blind)
#1F4279
Tritanopia (blue-blind)
#2B4A55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f3d7a;
/* rgb */ color: rgb(63, 61, 122);
/* oklch */ color: oklch(39.4% 0.101 282.2);
Tailwind
colors: {
  custom: {
    50: '#7872a1',
    500: '#3f3d7a',
    950: '#000000',
  },
}
SCSS
$custom: #3f3d7a;
$custom-light: #7872a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3d7a",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 122
  },
  "hsl": {
    "h": 241.967,
    "s": 33.333,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39429,
    "c": 0.10064,
    "h": 282.2
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#3F3D7A
secondary
#A3A56E
accent
#C95EC6
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09080F
muted
#7B7B7E

Preview Lab

Preview with #3F3D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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