#3F409B#3F409B

#3F409B is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.145 H 277.8°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#3F409B
RGBrgb(63, 64, 155)
HSLhsl(239, 42%, 43%)
HSVhsv(239, 59%, 61%)
CMYKcmyk(59.4%, 58.7%, 0%, 39.2%)
CIE-LABlab(32.01, 27.50, -50.00)
CIE-LCHlch(32.01, 57.06, 298.81°)
OKLaboklab(42.49% 0.0197 -0.1435)
OKLCHoklch(42.49% 0.145 277.8)
XYZxyz(9.7978, 7.0894, 31.8561)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F409B #9B9A3F
analogous
#3F6E9B #3F409B #6C3F9B
triadic
#3F409B #9B3F40 #409B3F
tetradic
#3F409B #9B3F6E #9B9A3F #3F9B6C
square
#3F409B #9B3F6E #9B9A3F #3F9B6C
split-complementary
#3F409B #9B6C3F #6E9B3F
monochromatic
#1C1C44 #2D2E6F #3F409B #5B5CBC #8687CE

Accessibility & contrast

On white

8.68
#3F409B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3F409B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F409B
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F409B#FFFFFF#000000##FFFFFF
##3F409B1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f409b;
/* rgb */ color: rgb(63, 64, 155);
/* oklch */ color: oklch(42.5% 0.145 277.8);
Tailwind
colors: {
  custom: {
    50: '#7d75b9',
    500: '#3f409b',
    950: '#000000',
  },
}
SCSS
$custom: #3f409b;
$custom-light: #7d75b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f409b",
  "rgb": {
    "r": 63,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 239.348,
    "s": 42.202,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42494,
    "c": 0.14485,
    "h": 277.8
  },
  "luminance": 0.0709
}

Semantic roles & 50–950 ramp

primary
#3F409B
secondary
#B8B87D
accent
#D156D2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3F409B

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

Preview Lab → · Contrast checker → · Palette generator →

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