#3F46C3#3F46C3

#3F46C3 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.191 H 273.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#3F46C3
RGBrgb(63, 70, 195)
HSLhsl(237, 52%, 51%)
HSVhsv(237, 68%, 76%)
CMYKcmyk(67.7%, 64.1%, 0%, 23.5%)
CIE-LABlab(36.70, 37.46, -66.16)
CIE-LCHlch(36.70, 76.02, 299.52°)
OKLaboklab(46.95% 0.0129 -0.1909)
OKLCHoklch(46.95% 0.191 273.9)
XYZxyz(14.0871, 9.3759, 52.6865)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F46C3 #C3BC3F
analogous
#3F88C3 #3F46C3 #7A3FC3
triadic
#3F46C3 #C33F46 #46C33F
tetradic
#3F46C3 #C33F88 #C3BC3F #3FC37A
square
#3F46C3 #C33F88 #C3BC3F #3FC37A
split-complementary
#3F46C3 #C37A3F #88C33F
monochromatic
#202467 #2F3496 #3F46C3 #6E73D2 #9CA0E0

Accessibility & contrast

On white

7.30
#3F46C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3F46C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F46C3
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F46C3#FFFFFF#000000##FFFFFF
##3F46C31.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f46c3;
/* rgb */ color: rgb(63, 70, 195);
/* oklch */ color: oklch(47.0% 0.191 273.9);
Tailwind
colors: {
  custom: {
    50: '#847ad6',
    500: '#3f46c3',
    950: '#000000',
  },
}
SCSS
$custom: #3f46c3;
$custom-light: #847ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f46c3",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 195
  },
  "hsl": {
    "h": 236.818,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46951,
    "c": 0.19136,
    "h": 273.9
  },
  "luminance": 0.09377
}

Semantic roles & 50–950 ramp

primary
#3F46C3
secondary
#CCC992
accent
#D44CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3F46C3

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

Preview Lab → · Contrast checker → · Palette generator →

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