#3F4E97#3F4E97

#3F4E97 is a mid, moderate blue. Relative luminance 0.087; OKLCH L 45.0% C 0.120 H 272.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#3F4E97
RGBrgb(63, 78, 151)
HSLhsl(230, 41%, 42%)
HSVhsv(230, 58%, 59%)
CMYKcmyk(58.3%, 48.3%, 0%, 40.8%)
CIE-LABlab(35.48, 16.95, -41.98)
CIE-LCHlch(35.48, 45.27, 291.98°)
OKLaboklab(45.01% 0.0043 -0.1198)
OKLCHoklch(45.01% 0.12 272)
XYZxyz(10.3584, 8.7391, 30.4131)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E97 #97883F
analogous
#3F7A97 #3F4E97 #5C3F97
triadic
#3F4E97 #973F4E #4E973F
tetradic
#3F4E97 #973F7A #97883F #3F975C
square
#3F4E97 #973F7A #97883F #3F975C
split-complementary
#3F4E97 #975C3F #7A973F
monochromatic
#1B2141 #2D386C #3F4E97 #596ABA #8591CC

Accessibility & contrast

On white

7.64
#3F4E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3F4E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4E97
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E97#FFFFFF#000000##FFFFFF
##3F4E971.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B579A
Deuteranopia (green-blind)
#1E5095
Tritanopia (blue-blind)
#045E6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f4e97;
/* rgb */ color: rgb(63, 78, 151);
/* oklch */ color: oklch(45.0% 0.120 272.0);
Tailwind
colors: {
  custom: {
    50: '#7c7fb6',
    500: '#3f4e97',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e97;
$custom-light: #7c7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e97",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 229.773,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45009,
    "c": 0.11987,
    "h": 272
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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