#3F418F#3F418F

#3F418F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.126 H 278.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#3F418F
RGBrgb(63, 65, 143)
HSLhsl(239, 39%, 40%)
HSVhsv(239, 56%, 56%)
CMYKcmyk(55.9%, 54.5%, 0%, 43.9%)
CIE-LABlab(31.39, 22.74, -43.67)
CIE-LCHlch(31.39, 49.24, 297.50°)
OKLaboklab(41.76% 0.0183 -0.1249)
OKLCHoklch(41.76% 0.126 278.3)
XYZxyz(8.8966, 6.8199, 26.8289)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F418F #8F8D3F
analogous
#3F698F #3F418F #653F8F
triadic
#3F418F #8F3F41 #418F3F
tetradic
#3F418F #8F3F69 #8F8D3F #3F8F65
square
#3F418F #8F3F69 #8F8D3F #3F8F65
split-complementary
#3F418F #8F653F #698F3F
monochromatic
#1A1A3A #2C2E65 #3F418F #5659B5 #8183C7

Accessibility & contrast

On white

8.88
#3F418F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3F418F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F418F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F418F#FFFFFF#000000##FFFFFF
##3F418F1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144D92
Deuteranopia (green-blind)
#04478D
Tritanopia (blue-blind)
#185361
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f418f;
/* rgb */ color: rgb(63, 65, 143);
/* oklch */ color: oklch(41.8% 0.126 278.3);
Tailwind
colors: {
  custom: {
    50: '#7b75b0',
    500: '#3f418f',
    950: '#000000',
  },
}
SCSS
$custom: #3f418f;
$custom-light: #7b75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f418f",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 238.5,
    "s": 38.835,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41756,
    "c": 0.12622,
    "h": 278.3
  },
  "luminance": 0.06821
}

Semantic roles & 50–950 ramp

primary
#3F418F
secondary
#B2B078
accent
#CC59CF
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #3F418F

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

Preview Lab → · Contrast checker → · Palette generator →

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