#3F46C7#3F46C7

#3F46C7 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.3% C 0.197 H 273.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#3F46C7
RGBrgb(63, 70, 199)
HSLhsl(237, 55%, 51%)
HSVhsv(237, 68%, 78%)
CMYKcmyk(68.3%, 64.8%, 0%, 22%)
CIE-LABlab(37.04, 38.83, -67.93)
CIE-LCHlch(37.04, 78.24, 299.75°)
OKLaboklab(47.31% 0.0126 -0.1961)
OKLCHoklch(47.31% 0.197 273.7)
XYZxyz(14.5454, 9.5592, 55.1003)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F46C7 #C7C03F
analogous
#3F8AC7 #3F46C7 #7C3FC7
triadic
#3F46C7 #C73F46 #46C73F
tetradic
#3F46C7 #C73F8A #C7C03F #3FC77C
square
#3F46C7 #C73F8A #C7C03F #3FC77C
split-complementary
#3F46C7 #C77C3F #8AC73F
monochromatic
#20236C #2D339B #3F46C7 #6E74D5 #9EA1E3

Accessibility & contrast

On white

7.21
#3F46C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3F46C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F46C7
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F46C7#FFFFFF#000000##FFFFFF
##3F46C71.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0051C5
Tritanopia (blue-blind)
#006880
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f46c7;
/* rgb */ color: rgb(63, 70, 199);
/* oklch */ color: oklch(47.3% 0.197 273.7);
Tailwind
colors: {
  custom: {
    50: '#857ad9',
    500: '#3f46c7',
    950: '#000000',
  },
}
SCSS
$custom: #3f46c7;
$custom-light: #857ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f46c7",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 199
  },
  "hsl": {
    "h": 236.912,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47306,
    "c": 0.19653,
    "h": 273.7
  },
  "luminance": 0.09561
}

Semantic roles & 50–950 ramp

primary
#3F46C7
secondary
#CFCC93
accent
#D74ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3F46C7

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

Preview Lab → · Contrast checker → · Palette generator →

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