#3F409D#3F409D

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

Color values

HEX#3F409D
RGBrgb(63, 64, 157)
HSLhsl(239, 43%, 43%)
HSVhsv(239, 60%, 62%)
CMYKcmyk(59.9%, 59.2%, 0%, 38.4%)
CIE-LABlab(32.16, 28.19, -50.96)
CIE-LCHlch(32.16, 58.24, 298.95°)
OKLaboklab(42.66% 0.0197 -0.1463)
OKLCHoklch(42.66% 0.148 277.7)
XYZxyz(9.9671, 7.1571, 32.7480)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F409D #9D9C3F
analogous
#3F6F9D #3F409D #6D3F9D
triadic
#3F409D #9D3F40 #409D3F
tetradic
#3F409D #9D3F6F #9D9C3F #3F9D6D
square
#3F409D #9D3F6F #9D9C3F #3F9D6D
split-complementary
#3F409D #9D6D3F #6F9D3F
monochromatic
#1C1C46 #2D2E71 #3F409D #5C5DBD #8788CF

Accessibility & contrast

On white

8.64
#3F409D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3F409D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F409D
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F409D#FFFFFF#000000##FFFFFF
##3F409D1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f409d;
/* rgb */ color: rgb(63, 64, 157);
/* oklch */ color: oklch(42.7% 0.148 277.7);
Tailwind
colors: {
  custom: {
    50: '#7e75bb',
    500: '#3f409d',
    950: '#000000',
  },
}
SCSS
$custom: #3f409d;
$custom-light: #7e75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f409d",
  "rgb": {
    "r": 63,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 239.362,
    "s": 42.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42655,
    "c": 0.14766,
    "h": 277.7
  },
  "luminance": 0.07158
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F409D

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

Preview Lab → · Contrast checker → · Palette generator →

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