#3F3D78#3F3D78

#3F3D78 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.3% C 0.098 H 282.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#3F3D78
RGBrgb(63, 61, 120)
HSLhsl(242, 33%, 35%)
HSVhsv(242, 49%, 47%)
CMYKcmyk(47.5%, 49.2%, 0%, 52.9%)
CIE-LABlab(28.77, 17.67, -33.58)
CIE-LCHlch(28.77, 37.94, 297.75°)
OKLaboklab(39.29% 0.0211 -0.0953)
OKLCHoklch(39.29% 0.098 282.5)
XYZxyz(7.1078, 5.7500, 18.5010)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3D78 #76783D
analogous
#3D5878 #3F3D78 #5C3D78
triadic
#3F3D78 #783F3D #3D783F
tetradic
#3F3D78 #783D58 #76783D #3D785C
square
#3F3D78 #783D58 #76783D #3D785C
split-complementary
#3F3D78 #785C3D #58783D
monochromatic
#141427 #2A284F #3F3D78 #5452A1 #7876B9

Accessibility & contrast

On white

9.77
#3F3D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3F3D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3D78
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3D78#FFFFFF#000000##FFFFFF
##3F3D781.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25467A
Deuteranopia (green-blind)
#224277
Tritanopia (blue-blind)
#2C4954
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f3d78;
/* rgb */ color: rgb(63, 61, 120);
/* oklch */ color: oklch(39.3% 0.098 282.5);
Tailwind
colors: {
  custom: {
    50: '#78729f',
    500: '#3f3d78',
    950: '#000000',
  },
}
SCSS
$custom: #3f3d78;
$custom-light: #78729f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3d78",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 120
  },
  "hsl": {
    "h": 242.034,
    "s": 32.597,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39292,
    "c": 0.09757,
    "h": 282.5
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#3F3D78
secondary
#A2A36D
accent
#C95FC5
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #3F3D78

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

Preview Lab → · Contrast checker → · Palette generator →

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