#3F4FA7#3F4FA7

#3F4FA7 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.142 H 272.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#3F4FA7
RGBrgb(63, 79, 167)
HSLhsl(231, 45%, 45%)
HSVhsv(231, 62%, 65%)
CMYKcmyk(62.3%, 52.7%, 0%, 34.5%)
CIE-LABlab(36.81, 21.92, -49.44)
CIE-LCHlch(36.81, 54.08, 293.91°)
OKLaboklab(46.36% 0.0049 -0.1417)
OKLCHoklch(46.36% 0.142 272)
XYZxyz(11.8186, 9.4378, 37.7506)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4FA7 #A7973F
analogous
#3F83A7 #3F4FA7 #633FA7
triadic
#3F4FA7 #A73F4F #4FA73F
tetradic
#3F4FA7 #A73F83 #A7973F #3FA763
square
#3F4FA7 #A73F83 #A7973F #3FA763
split-complementary
#3F4FA7 #A7633F #83A73F
monochromatic
#1D254E #2E3A7B #3F4FA7 #606FC3 #8D98D4

Accessibility & contrast

On white

7.27
#3F4FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3F4FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4FA7
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4FA7#FFFFFF#000000##FFFFFF
##3F4FA71.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5BAA
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f4fa7;
/* rgb */ color: rgb(63, 79, 167);
/* oklch */ color: oklch(46.4% 0.142 272.0);
Tailwind
colors: {
  custom: {
    50: '#7e80c2',
    500: '#3f4fa7',
    950: '#000000',
  },
}
SCSS
$custom: #3f4fa7;
$custom-light: #7e80c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4fa7",
  "rgb": {
    "r": 63,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 230.769,
    "s": 45.217,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46362,
    "c": 0.14181,
    "h": 272
  },
  "luminance": 0.09439
}

Semantic roles & 50–950 ramp

primary
#3F4FA7
secondary
#BFB683
accent
#C153D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #3F4FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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