#3F4EB7#3F4EB7

#3F4EB7 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.4% C 0.166 H 272.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#3F4EB7
RGBrgb(63, 78, 183)
HSLhsl(233, 49%, 48%)
HSVhsv(233, 66%, 72%)
CMYKcmyk(65.6%, 57.4%, 0%, 28.2%)
CIE-LABlab(37.70, 28.22, -57.48)
CIE-LCHlch(37.70, 64.03, 296.15°)
OKLaboklab(47.4% 0.0067 -0.1654)
OKLCHoklch(47.4% 0.166 272.3)
XYZxyz(13.3187, 9.9233, 46.0041)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4EB7 #B7A83F
analogous
#3F8AB7 #3F4EB7 #6C3FB7
triadic
#3F4EB7 #B73F4E #4EB73F
tetradic
#3F4EB7 #B73F8A #B7A83F #3FB76C
square
#3F4EB7 #B73F8A #B7A83F #3FB76C
split-complementary
#3F4EB7 #B76C3F #8AB73F
monochromatic
#20275C #2F3B89 #3F4EB7 #6875CB #969EDB

Accessibility & contrast

On white

7.04
#3F4EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3F4EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4EB7
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4EB7#FFFFFF#000000##FFFFFF
##3F4EB71.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f4eb7;
/* rgb */ color: rgb(63, 78, 183);
/* oklch */ color: oklch(47.4% 0.166 272.3);
Tailwind
colors: {
  custom: {
    50: '#817fcd',
    500: '#3f4eb7',
    950: '#000000',
  },
}
SCSS
$custom: #3f4eb7;
$custom-light: #817fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4eb7",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 183
  },
  "hsl": {
    "h": 232.5,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47396,
    "c": 0.16551,
    "h": 272.3
  },
  "luminance": 0.09924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F4EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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