#3F4091#3F4091

#3F4091 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.131 H 278.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#3F4091
RGBrgb(63, 64, 145)
HSLhsl(239, 39%, 41%)
HSVhsv(239, 57%, 57%)
CMYKcmyk(56.6%, 55.9%, 0%, 43.1%)
CIE-LABlab(31.27, 24.08, -45.10)
CIE-LCHlch(31.27, 51.12, 298.10°)
OKLaboklab(41.71% 0.0195 -0.1291)
OKLCHoklch(41.71% 0.131 278.6)
XYZxyz(8.9925, 6.7673, 27.6149)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4091 #91903F
analogous
#3F6991 #3F4091 #673F91
triadic
#3F4091 #913F40 #40913F
tetradic
#3F4091 #913F69 #91903F #3F9167
square
#3F4091 #913F69 #91903F #3F9167
split-complementary
#3F4091 #91673F #69913F
monochromatic
#1A1A3C #2C2D66 #3F4091 #5758B6 #8283C9

Accessibility & contrast

On white

8.92
#3F4091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3F4091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4091
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4091#FFFFFF#000000##FFFFFF
##3F40911.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4D94
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#165362
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f4091;
/* rgb */ color: rgb(63, 64, 145);
/* oklch */ color: oklch(41.7% 0.131 278.6);
Tailwind
colors: {
  custom: {
    50: '#7b74b2',
    500: '#3f4091',
    950: '#000000',
  },
}
SCSS
$custom: #3f4091;
$custom-light: #7b74b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4091",
  "rgb": {
    "r": 63,
    "g": 64,
    "b": 145
  },
  "hsl": {
    "h": 239.268,
    "s": 39.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4171,
    "c": 0.13055,
    "h": 278.6
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#3F4091
secondary
#B3B279
accent
#CE58CF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3F4091

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

Preview Lab → · Contrast checker → · Palette generator →

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