#3F409F#3F409F

#3F409F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.150 H 277.5°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#3F409F
RGBrgb(63, 64, 159)
HSLhsl(239, 43%, 44%)
HSVhsv(239, 60%, 62%)
CMYKcmyk(60.4%, 59.7%, 0%, 37.6%)
CIE-LABlab(32.32, 28.88, -51.92)
CIE-LCHlch(32.32, 59.41, 299.08°)
OKLaboklab(42.82% 0.0196 -0.1492)
OKLCHoklch(42.82% 0.15 277.5)
XYZxyz(10.1393, 7.2260, 33.6546)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F409F #9F9E3F
analogous
#3F709F #3F409F #6E3F9F
triadic
#3F409F #9F3F40 #409F3F
tetradic
#3F409F #9F3F70 #9F9E3F #3F9F6E
square
#3F409F #9F3F70 #9F9E3F #3F9F6E
split-complementary
#3F409F #9F6E3F #709F3F
monochromatic
#1C1D47 #2E2E73 #3F409F #5D5EBF #8889D0

Accessibility & contrast

On white

8.59
#3F409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3F409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F409F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F409F#FFFFFF#000000##FFFFFF
##3F409F1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f409f;
/* rgb */ color: rgb(63, 64, 159);
/* oklch */ color: oklch(42.8% 0.150 277.5);
Tailwind
colors: {
  custom: {
    50: '#7e75bc',
    500: '#3f409f',
    950: '#000000',
  },
}
SCSS
$custom: #3f409f;
$custom-light: #7e75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f409f",
  "rgb": {
    "r": 63,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 239.375,
    "s": 43.243,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42817,
    "c": 0.15046,
    "h": 277.5
  },
  "luminance": 0.07227
}

Semantic roles & 50–950 ramp

primary
#3F409F
secondary
#BBBA7F
accent
#D255D3
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3F409F

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

Preview Lab → · Contrast checker → · Palette generator →

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