#3F4FB1#3F4FB1

#3F4FB1 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.156 H 272.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#3F4FB1
RGBrgb(63, 79, 177)
HSLhsl(232, 48%, 47%)
HSVhsv(232, 64%, 69%)
CMYKcmyk(64.4%, 55.4%, 0%, 30.6%)
CIE-LABlab(37.52, 25.45, -54.24)
CIE-LCHlch(37.52, 59.92, 295.14°)
OKLaboklab(47.12% 0.0056 -0.1558)
OKLCHoklch(47.12% 0.156 272)
XYZxyz(12.7790, 9.8219, 42.8088)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4FB1 #B1A13F
analogous
#3F88B1 #3F4FB1 #683FB1
triadic
#3F4FB1 #B13F4F #4FB13F
tetradic
#3F4FB1 #B13F88 #B1A13F #3FB168
square
#3F4FB1 #B13F88 #B1A13F #3FB168
split-complementary
#3F4FB1 #B1683F #88B13F
monochromatic
#1F2757 #2F3B84 #3F4FB1 #6573C8 #929CD8

Accessibility & contrast

On white

7.08
#3F4FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F4FB1
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4FB1#FFFFFF#000000##FFFFFF
##3F4FB11.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB4
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f4fb1;
/* rgb */ color: rgb(63, 79, 177);
/* oklch */ color: oklch(47.1% 0.156 272.0);
Tailwind
colors: {
  custom: {
    50: '#8080c9',
    500: '#3f4fb1',
    950: '#000000',
  },
}
SCSS
$custom: #3f4fb1;
$custom-light: #8080c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4fb1",
  "rgb": {
    "r": 63,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 231.579,
    "s": 47.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47119,
    "c": 0.15593,
    "h": 272
  },
  "luminance": 0.09823
}

Semantic roles & 50–950 ramp

primary
#3F4FB1
secondary
#C4BB88
accent
#C451D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3F4FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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