#3F4DB7#3F4DB7

#3F4DB7 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.167 H 272.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#3F4DB7
RGBrgb(63, 77, 183)
HSLhsl(233, 49%, 48%)
HSVhsv(233, 66%, 72%)
CMYKcmyk(65.6%, 57.9%, 0%, 28.2%)
CIE-LABlab(37.45, 28.86, -57.90)
CIE-LCHlch(37.45, 64.69, 296.50°)
OKLaboklab(47.21% 0.0076 -0.1666)
OKLCHoklch(47.21% 0.167 272.6)
XYZxyz(13.2482, 9.7822, 45.9806)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4DB7 #B7A93F
analogous
#3F89B7 #3F4DB7 #6D3FB7
triadic
#3F4DB7 #B73F4D #4DB73F
tetradic
#3F4DB7 #B73F89 #B7A93F #3FB76D
square
#3F4DB7 #B73F89 #B7A93F #3FB76D
split-complementary
#3F4DB7 #B76D3F #89B73F
monochromatic
#20275C #2F3A89 #3F4DB7 #6874CB #969EDB

Accessibility & contrast

On white

7.10
#3F4DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3F4DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4DB7
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4DB7#FFFFFF#000000##FFFFFF
##3F4DB71.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f4db7;
/* rgb */ color: rgb(63, 77, 183);
/* oklch */ color: oklch(47.2% 0.167 272.6);
Tailwind
colors: {
  custom: {
    50: '#827ecd',
    500: '#3f4db7',
    950: '#000000',
  },
}
SCSS
$custom: #3f4db7;
$custom-light: #827ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4db7",
  "rgb": {
    "r": 63,
    "g": 77,
    "b": 183
  },
  "hsl": {
    "h": 233,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47205,
    "c": 0.16678,
    "h": 272.6
  },
  "luminance": 0.09783
}

Semantic roles & 50–950 ramp

primary
#3F4DB7
secondary
#C6BF8B
accent
#C84FD8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3F4DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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