#3F4CB7#3F4CB7

#3F4CB7 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.0% C 0.168 H 272.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#3F4CB7
RGBrgb(63, 76, 183)
HSLhsl(234, 49%, 48%)
HSVhsv(234, 66%, 72%)
CMYKcmyk(65.6%, 58.5%, 0%, 28.2%)
CIE-LABlab(37.19, 29.50, -58.31)
CIE-LCHlch(37.19, 65.35, 296.84°)
OKLaboklab(47.02% 0.0084 -0.1678)
OKLCHoklch(47.02% 0.168 272.9)
XYZxyz(13.1787, 9.6434, 45.9574)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4CB7 #B7AA3F
analogous
#3F88B7 #3F4CB7 #6E3FB7
triadic
#3F4CB7 #B73F4C #4CB73F
tetradic
#3F4CB7 #B73F88 #B7AA3F #3FB76E
square
#3F4CB7 #B73F88 #B7AA3F #3FB76E
split-complementary
#3F4CB7 #B76E3F #88B73F
monochromatic
#20265C #2F3989 #3F4CB7 #6873CB #969DDB

Accessibility & contrast

On white

7.17
#3F4CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3F4CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4CB7
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4CB7#FFFFFF#000000##FFFFFF
##3F4CB71.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f4cb7;
/* rgb */ color: rgb(63, 76, 183);
/* oklch */ color: oklch(47.0% 0.168 272.9);
Tailwind
colors: {
  custom: {
    50: '#827ecd',
    500: '#3f4cb7',
    950: '#000000',
  },
}
SCSS
$custom: #3f4cb7;
$custom-light: #827ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4cb7",
  "rgb": {
    "r": 63,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 233.5,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47016,
    "c": 0.16805,
    "h": 272.9
  },
  "luminance": 0.09645
}

Semantic roles & 50–950 ramp

primary
#3F4CB7
secondary
#C6C08B
accent
#CA4FD8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3F4CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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