#3F409E#3F409E

#3F409E is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.149 H 277.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#3F409E
RGBrgb(63, 64, 158)
HSLhsl(239, 43%, 43%)
HSVhsv(239, 60%, 62%)
CMYKcmyk(60.1%, 59.5%, 0%, 38%)
CIE-LABlab(32.24, 28.53, -51.44)
CIE-LCHlch(32.24, 58.83, 299.01°)
OKLaboklab(42.74% 0.0197 -0.1478)
OKLCHoklch(42.74% 0.149 277.6)
XYZxyz(10.0529, 7.1914, 33.1995)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F409E #9E9D3F
analogous
#3F6F9E #3F409E #6D3F9E
triadic
#3F409E #9E3F40 #409E3F
tetradic
#3F409E #9E3F6F #9E9D3F #3F9E6D
square
#3F409E #9E3F6F #9E9D3F #3F9E6D
split-complementary
#3F409E #9E6D3F #6F9E3F
monochromatic
#1C1D46 #2E2E72 #3F409E #5C5DBE #8889D0

Accessibility & contrast

On white

8.61
#3F409E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3F409E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F409E
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F409E#FFFFFF#000000##FFFFFF
##3F409E1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f409e;
/* rgb */ color: rgb(63, 64, 158);
/* oklch */ color: oklch(42.7% 0.149 277.6);
Tailwind
colors: {
  custom: {
    50: '#7e75bb',
    500: '#3f409e',
    950: '#000000',
  },
}
SCSS
$custom: #3f409e;
$custom-light: #7e75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f409e",
  "rgb": {
    "r": 63,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 239.368,
    "s": 42.986,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42736,
    "c": 0.14906,
    "h": 277.6
  },
  "luminance": 0.07192
}

Semantic roles & 50–950 ramp

primary
#3F409E
secondary
#BAB97F
accent
#D155D3
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3F409E

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

Preview Lab → · Contrast checker → · Palette generator →

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