#3F409C#3F409C

#3F409C is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.146 H 277.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#3F409C
RGBrgb(63, 64, 156)
HSLhsl(239, 42%, 43%)
HSVhsv(239, 60%, 61%)
CMYKcmyk(59.6%, 59%, 0%, 38.8%)
CIE-LABlab(32.09, 27.85, -50.48)
CIE-LCHlch(32.09, 57.65, 298.88°)
OKLaboklab(42.57% 0.0197 -0.1449)
OKLCHoklch(42.57% 0.146 277.7)
XYZxyz(9.8821, 7.1231, 32.3002)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F409C #9C9B3F
analogous
#3F6E9C #3F409C #6C3F9C
triadic
#3F409C #9C3F40 #409C3F
tetradic
#3F409C #9C3F6E #9C9B3F #3F9C6C
square
#3F409C #9C3F6E #9C9B3F #3F9C6C
split-complementary
#3F409C #9C6C3F #6E9C3F
monochromatic
#1C1C45 #2D2E70 #3F409C #5B5CBD #8788CE

Accessibility & contrast

On white

8.66
#3F409C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F409C
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F409C#FFFFFF#000000##FFFFFF
##3F409C1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f409c;
/* rgb */ color: rgb(63, 64, 156);
/* oklch */ color: oklch(42.6% 0.146 277.7);
Tailwind
colors: {
  custom: {
    50: '#7d75ba',
    500: '#3f409c',
    950: '#000000',
  },
}
SCSS
$custom: #3f409c;
$custom-light: #7d75ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3f409c",
  "rgb": {
    "r": 63,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 239.355,
    "s": 42.466,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42574,
    "c": 0.14626,
    "h": 277.7
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#3F409C
secondary
#B9B87E
accent
#D156D2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3F409C

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

Preview Lab → · Contrast checker → · Palette generator →

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