#3F419D#3F419D

#3F419D is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.146 H 277.3°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#3F419D
RGBrgb(63, 65, 157)
HSLhsl(239, 43%, 43%)
HSVhsv(239, 60%, 62%)
CMYKcmyk(59.9%, 58.6%, 0%, 38.4%)
CIE-LABlab(32.42, 27.54, -50.55)
CIE-LCHlch(32.42, 57.57, 298.58°)
OKLaboklab(42.84% 0.0187 -0.1451)
OKLCHoklch(42.84% 0.146 277.3)
XYZxyz(10.0240, 7.2709, 32.7670)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F419D #9D9B3F
analogous
#3F709D #3F419D #6C3F9D
triadic
#3F419D #9D3F41 #419D3F
tetradic
#3F419D #9D3F70 #9D9B3F #3F9D6C
square
#3F419D #9D3F70 #9D9B3F #3F9D6C
split-complementary
#3F419D #9D6C3F #709D3F
monochromatic
#1C1D46 #2D2F71 #3F419D #5C5EBD #8789CF

Accessibility & contrast

On white

8.56
#3F419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F419D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F419D#FFFFFF#000000##FFFFFF
##3F419D1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f419d;
/* rgb */ color: rgb(63, 65, 157);
/* oklch */ color: oklch(42.8% 0.146 277.3);
Tailwind
colors: {
  custom: {
    50: '#7d75bb',
    500: '#3f419d',
    950: '#000000',
  },
}
SCSS
$custom: #3f419d;
$custom-light: #7d75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f419d",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 238.723,
    "s": 42.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42843,
    "c": 0.14632,
    "h": 277.3
  },
  "luminance": 0.07272
}

Semantic roles & 50–950 ramp

primary
#3F419D
secondary
#BAB87E
accent
#D055D3
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3F419D

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

Preview Lab → · Contrast checker → · Palette generator →

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