#3F3572#3F3572

#3F3572 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.2% C 0.101 H 288.0°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#3F3572
RGBrgb(63, 53, 114)
HSLhsl(250, 37%, 33%)
HSVhsv(250, 54%, 45%)
CMYKcmyk(44.7%, 53.5%, 0%, 55.3%)
CIE-LABlab(26.21, 21.05, -33.88)
CIE-LCHlch(26.21, 39.89, 301.85°)
OKLaboklab(37.24% 0.0313 -0.0962)
OKLCHoklch(37.24% 0.101 288)
XYZxyz(6.3594, 4.8176, 16.5112)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3572 #687235
analogous
#354972 #3F3572 #5D3572
triadic
#3F3572 #723F35 #35723F
tetradic
#3F3572 #723549 #687235 #35725D
square
#3F3572 #723549 #687235 #35725D
split-complementary
#3F3572 #725D35 #497235
monochromatic
#110E1E #282248 #3F3572 #56489C #7668B9

Accessibility & contrast

On white

10.69
#3F3572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3F3572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3572
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3572#FFFFFF#000000##FFFFFF
##3F35721.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3F74
Deuteranopia (green-blind)
#1A3C71
Tritanopia (blue-blind)
#30424E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f3572;
/* rgb */ color: rgb(63, 53, 114);
/* oklch */ color: oklch(37.2% 0.101 288.0);
Tailwind
colors: {
  custom: {
    50: '#776c9b',
    500: '#3f3572',
    950: '#000000',
  },
}
SCSS
$custom: #3f3572;
$custom-light: #776c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3572",
  "rgb": {
    "r": 63,
    "g": 53,
    "b": 114
  },
  "hsl": {
    "h": 249.836,
    "s": 36.527,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3724,
    "c": 0.10113,
    "h": 288
  },
  "luminance": 0.04818
}

Semantic roles & 50–950 ramp

primary
#3F3572
secondary
#97A261
accent
#CD5BBA
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #3F3572

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

Preview Lab → · Contrast checker → · Palette generator →

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