#3F4E96#3F4E96

#3F4E96 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.9% C 0.118 H 272.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#3F4E96
RGBrgb(63, 78, 150)
HSLhsl(230, 41%, 42%)
HSVhsv(230, 58%, 59%)
CMYKcmyk(58%, 48%, 0%, 41.2%)
CIE-LABlab(35.41, 16.60, -41.48)
CIE-LCHlch(35.41, 44.68, 291.81°)
OKLaboklab(44.94% 0.0041 -0.1183)
OKLCHoklch(44.94% 0.118 272)
XYZxyz(10.2775, 8.7068, 29.9872)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E96 #96873F
analogous
#3F7A96 #3F4E96 #5C3F96
triadic
#3F4E96 #963F4E #4E963F
tetradic
#3F4E96 #963F7A #96873F #3F965C
square
#3F4E96 #963F7A #96873F #3F965C
split-complementary
#3F4E96 #965C3F #7A963F
monochromatic
#1B2140 #2D386B #3F4E96 #596AB9 #8490CB

Accessibility & contrast

On white

7.66
#3F4E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3F4E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4E96
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E96#FFFFFF#000000##FFFFFF
##3F4E961.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5799
Deuteranopia (green-blind)
#205094
Tritanopia (blue-blind)
#075E6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f4e96;
/* rgb */ color: rgb(63, 78, 150);
/* oklch */ color: oklch(44.9% 0.118 272.0);
Tailwind
colors: {
  custom: {
    50: '#7b7fb5',
    500: '#3f4e96',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e96;
$custom-light: #7b7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e96",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 150
  },
  "hsl": {
    "h": 229.655,
    "s": 40.845,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44941,
    "c": 0.11838,
    "h": 272
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#3F4E96
secondary
#B6AC7B
accent
#BC57D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3F4E96

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

Preview Lab → · Contrast checker → · Palette generator →

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