#3F4591#3F4591

#3F4591 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.123 H 276.4°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#3F4591
RGBrgb(63, 69, 145)
HSLhsl(236, 39%, 41%)
HSVhsv(236, 57%, 57%)
CMYKcmyk(56.6%, 52.4%, 0%, 43.1%)
CIE-LABlab(32.61, 20.79, -42.94)
CIE-LCHlch(32.61, 47.71, 295.83°)
OKLaboklab(42.71% 0.0138 -0.1227)
OKLCHoklch(42.71% 0.123 276.4)
XYZxyz(9.2872, 7.3567, 27.7132)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4591 #918B3F
analogous
#3F6E91 #3F4591 #623F91
triadic
#3F4591 #913F45 #45913F
tetradic
#3F4591 #913F6E #918B3F #3F9162
square
#3F4591 #913F6E #918B3F #3F9162
split-complementary
#3F4591 #91623F #6E913F
monochromatic
#1A1C3C #2C3166 #3F4591 #575EB6 #8287C9

Accessibility & contrast

On white

8.50
#3F4591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F4591
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4591#FFFFFF#000000##FFFFFF
##3F45911.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5094
Deuteranopia (green-blind)
#0F498F
Tritanopia (blue-blind)
#145664
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f4591;
/* rgb */ color: rgb(63, 69, 145);
/* oklch */ color: oklch(42.7% 0.123 276.4);
Tailwind
colors: {
  custom: {
    50: '#7b78b2',
    500: '#3f4591',
    950: '#000000',
  },
}
SCSS
$custom: #3f4591;
$custom-light: #7b78b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4591",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 235.61,
    "s": 39.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4271,
    "c": 0.12349,
    "h": 276.4
  },
  "luminance": 0.07357
}

Semantic roles & 50–950 ramp

primary
#3F4591
secondary
#B3AF79
accent
#C758CF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3F4591

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

Preview Lab → · Contrast checker → · Palette generator →

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