#3F419F#3F419F

#3F419F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.149 H 277.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#3F419F
RGBrgb(63, 65, 159)
HSLhsl(239, 43%, 44%)
HSVhsv(239, 60%, 62%)
CMYKcmyk(60.4%, 59.1%, 0%, 37.6%)
CIE-LABlab(32.57, 28.23, -51.51)
CIE-LCHlch(32.57, 58.74, 298.72°)
OKLaboklab(43% 0.0187 -0.148)
OKLCHoklch(43% 0.149 277.2)
XYZxyz(10.1962, 7.3398, 33.6736)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F419F #9F9D3F
analogous
#3F719F #3F419F #6D3F9F
triadic
#3F419F #9F3F41 #419F3F
tetradic
#3F419F #9F3F71 #9F9D3F #3F9F6D
square
#3F419F #9F3F71 #9F9D3F #3F9F6D
split-complementary
#3F419F #9F6D3F #719F3F
monochromatic
#1C1D47 #2E2F73 #3F419F #5D5FBF #888AD0

Accessibility & contrast

On white

8.51
#3F419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3F419F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F419F
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F419F#FFFFFF#000000##FFFFFF
##3F419F1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f419f;
/* rgb */ color: rgb(63, 65, 159);
/* oklch */ color: oklch(43.0% 0.149 277.2);
Tailwind
colors: {
  custom: {
    50: '#7e75bc',
    500: '#3f419f',
    950: '#000000',
  },
}
SCSS
$custom: #3f419f;
$custom-light: #7e75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f419f",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 238.75,
    "s": 43.243,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43004,
    "c": 0.14913,
    "h": 277.2
  },
  "luminance": 0.07341
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F419F

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

Preview Lab → · Contrast checker → · Palette generator →

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